Class StaticMethodGeometryFunction
java.lang.Object
org.locationtech.jtstest.geomop.BaseGeometryFunction
org.locationtech.jtstest.geomop.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, 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, getCategory, getDescription, getDoubleOrNull, getIntegerOrNull, getName, getParameterNames, getParameterTypes, getReturnType, isBinary, isBinaryGeomFunction
-
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
-