public class GeometryFunctionOperation extends Object implements GeometryOperation
Geometry.
This class allows overriding Geometry methods
or augmenting them
with functions defined in a GeometryFunctionRegistry.| Constructor and Description |
|---|
GeometryFunctionOperation() |
GeometryFunctionOperation(GeometryFunctionRegistry registry) |
| 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 an operation on a
Geometry. |
public GeometryFunctionOperation()
public GeometryFunctionOperation(GeometryFunctionRegistry registry)
public Class getReturnType(String opName)
GeometryOperationgetReturnType in interface GeometryOperationopName - the name of the operationpublic Result invoke(String opName, Geometry geometry, Object[] args) throws Exception
GeometryOperationGeometry.invoke in interface GeometryOperationopName - name of the operationgeometry - the geometry to processargs - the arguments to the operation (which may be typed as Strings)Exception - if some error was encountered trying to find or process the operationCopyright © 2025. All rights reserved.