Package org.geotools.filter.function
Class PointOnLineFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
PointOnLineFunction
- All Implemented Interfaces:
Expression
,Function
,FunctionExpression
,Factory
Returns a point on the provided line. The point is at the specified percentage of the line's length. If no percentage
is provided, the mid point will be returned. If the line is a collection of lines, the first line is used.
No attempt is made to perform linear referencing based on a measure, althought this could be implemented in the future.
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, params
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toString
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
Methods inherited from class ExpressionAbstract
evaluate
Methods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
PointOnLineFunction
public PointOnLineFunction()
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstract
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionExpressionImpl
- Returns:
- default implementation returns null
-