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) |
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 © 2017. All Rights Reserved.