Class PreparedGeometryOperation
java.lang.Object
org.locationtech.jtstest.geomop.PreparedGeometryOperation
- All Implemented Interfaces:
GeometryOperation
A
GeometryOperation which uses PreparedGeometrys
for applicable operations.
This allows testing correctness of the PreparedGeometry implementation.
This class can be used via the -geomop command-line option or by the <geometryOperation> XML test file setting.
- Author:
- mbdavis
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new operation which chains to the givenGeometryMethodOperationfor non-intercepted methods. -
Method Summary
-
Constructor Details
-
PreparedGeometryOperation
public PreparedGeometryOperation() -
PreparedGeometryOperation
Creates a new operation which chains to the givenGeometryMethodOperationfor non-intercepted methods.- Parameters:
chainOp- the operation to chain to
-
-
Method Details
-
getReturnType
Description copied from interface:GeometryOperationGets the class of the return type of the given operation.- Specified by:
getReturnTypein interfaceGeometryOperation- Parameters:
opName- the name of the operation- Returns:
- the class of the return type of the specified operation
-
invoke
-