Class FilterGeometryFunction
java.lang.Object
org.locationtech.jtstest.geomfunction.FilterGeometryFunction
- All Implemented Interfaces:
GeometryFunction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilterGeometryFunction
(GeometryFunction fun, double filterVal) FilterGeometryFunction
(GeometryFunction fun, int op, double val) -
Method Summary
Modifier and TypeMethodDescriptionGets the category name of this functionGets the description of this functiongetName()
Gets the name of this functionString[]
Gets the parameter names for this functionClass[]
Gets the types of the other function arguments, if any.Gets the return type of this functionGets a string representing the signature of this function.Invokes this function.boolean
isBinary()
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.locationtech.jtstest.geomfunction.GeometryFunction
equals
-
Field Details
-
OP_EQ
public static int OP_EQ -
OP_NE
public static int OP_NE -
OP_GE
public static int OP_GE -
OP_GT
public static int OP_GT -
OP_LE
public static int OP_LE -
OP_LT
public static int OP_LT
-
-
Constructor Details
-
FilterGeometryFunction
-
FilterGeometryFunction
-
-
Method Details
-
getCategory
Description copied from interface:GeometryFunction
Gets the category name of this function- Specified by:
getCategory
in interfaceGeometryFunction
- Returns:
- the category name of the function
-
getName
Description copied from interface:GeometryFunction
Gets the name of this function- Specified by:
getName
in interfaceGeometryFunction
- Returns:
- the name of the function
-
getDescription
Description copied from interface:GeometryFunction
Gets the description of this function- Specified by:
getDescription
in interfaceGeometryFunction
- Returns:
- the name of the function
-
getParameterNames
Description copied from interface:GeometryFunction
Gets the parameter names for this function- Specified by:
getParameterNames
in interfaceGeometryFunction
- Returns:
- the names of the function parameters
-
getParameterTypes
Description copied from interface:GeometryFunction
Gets the types of the other function arguments, if any.- Specified by:
getParameterTypes
in interfaceGeometryFunction
- Returns:
- the types
-
getReturnType
Description copied from interface:GeometryFunction
Gets the return type of this function- Specified by:
getReturnType
in interfaceGeometryFunction
- Returns:
- the type of the value returned by this function
-
getSignature
Description copied from interface:GeometryFunction
Gets a string representing the signature of this function.- Specified by:
getSignature
in interfaceGeometryFunction
- Returns:
- the string for the function signature
-
isBinary
public boolean isBinary()- Specified by:
isBinary
in interfaceGeometryFunction
-
isRequiredB
public boolean isRequiredB()- Specified by:
isRequiredB
in interfaceGeometryFunction
-
invoke
Description copied from interface:GeometryFunction
Invokes this function. Note that any exceptions returned must beRuntimeException
s.- Specified by:
invoke
in interfaceGeometryFunction
- Parameters:
geom
- the target geometryargs
- the other arguments to the function- Returns:
- the value computed by the function
-