| java.lang.Object com.vividsolutions.jump.workbench.ui.plugin.analysis.GeometryFunction
GeometryFunction | abstract public class GeometryFunction (Code) | | A function object for
Geometry functions (which return a Geometry).
Provides metadata about the function.
author: Martin Davis version: 1.0 |
GeometryFunction | public GeometryFunction(String name, int nArgs, int nParams)(Code) | | |
GeometryFunction | public GeometryFunction(String name, int nArgs, int nParams, String description)(Code) | | |
execute | abstract public Geometry execute(Geometry[] geom, double[] param)(Code) | | Exectute the function on the geometry(s) in the geom array.
The function can expect that the correct number of geometry arguments
is present in the array.
Integer parameters must be passed as doubles.
If no result can be computed for some reason, null should be returned
to indicate this to the caller.
Exceptions may be thrown and must be handled by the caller.
Parameters: geom - the geometry arguments Parameters: param - any non-geometric arguments. the geometry result, or null if no result could be computed. |
getGeometryArgumentCount | public int getGeometryArgumentCount()(Code) | | |
getParameterCount | public int getParameterCount()(Code) | | |
|
|