Class StaticMethodGeometryFunction
java.lang.Object
org.locationtech.jtstest.geomfunction.BaseGeometryFunction
org.locationtech.jtstest.geomfunction.StaticMethodGeometryFunction
- All Implemented Interfaces:
Comparable, GeometryFunction
A
GeometryFunction which calls a static
Method.- Author:
- Martin Davis
-
Field Summary
Fields inherited from class BaseGeometryFunction
category, description, isRequiredB, name, parameterNames, parameterTypes, returnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticMethodGeometryFunctioncreateFunction(Method method) static StringgetClassname(Class<?> javaClass) static ObjectInvokes this function.Methods inherited from class BaseGeometryFunction
compareTo, equals, firstScalarParamIndex, getCategory, getDescription, getDoubleOrNull, getIntegerOrNull, getName, getParameterNames, getParameterTypes, getReturnType, getSignature, hashCode, isBinary, isBinaryGeomFunction, isRequiredB
-
Constructor Details
-
StaticMethodGeometryFunction
-
-
Method Details
-
createFunction
-
invoke
Description copied from interface:GeometryFunctionInvokes this function. Note that any exceptions returned must beRuntimeExceptions.- Specified by:
invokein interfaceGeometryFunction- Specified by:
invokein classBaseGeometryFunction- Parameters:
g- the target geometryarg- the other arguments to the function- Returns:
- the value computed by the function
-
invoke
-
getClassname
-