public class PreparedGeometryOperation extends Object implements GeometryOperation
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.
| Constructor and Description |
|---|
PreparedGeometryOperation() |
PreparedGeometryOperation(GeometryMethodOperation chainOp)
Creates a new operation which chains to the given
GeometryMethodOperation
for non-intercepted methods. |
| Modifier and Type | Method and Description |
|---|---|
Class |
getReturnType(String opName)
Gets the class of the return type of the given operation.
|
Result |
invoke(String opName,
Geometry geometry,
Object[] args)
Invokes the named operation
|
public PreparedGeometryOperation()
public PreparedGeometryOperation(GeometryMethodOperation chainOp)
GeometryMethodOperation
for non-intercepted methods.chainOp - the operation to chain topublic Class getReturnType(String opName)
GeometryOperationgetReturnType in interface GeometryOperationopName - the name of the operationpublic Result invoke(String opName, Geometry geometry, Object[] args) throws Exception
invoke in interface GeometryOperationopName - geometry - args - ExceptionGeometryOperation.invoke(java.lang.String, org.locationtech.jts.geom.Geometry, java.lang.Object[])Copyright © 2025. All rights reserved.