Package org.geotools.filter.function
Class FilterFunction_offset
- Object
-
- ExpressionAbstract
-
- DefaultExpression
-
- FunctionExpressionImpl
-
- FilterFunction_offset
-
- All Implemented Interfaces:
Expression
,Function
,GeometryTransformation
,FunctionExpression
,Factory
public class FilterFunction_offset extends FunctionExpressionImpl implements GeometryTransformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilterFunction_offset.OffsetOrdinateFilter
Applies an offset to the X and Y coordinates
-
Field Summary
Fields Modifier and Type Field Description static FunctionName
NAME
-
Fields inherited from class FunctionExpressionImpl
fallback, functionName, name, params
-
Fields inherited from interface Expression
NIL
-
-
Constructor Summary
Constructors Constructor Description FilterFunction_offset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Object feature)
Subclass should override, default implementation returns null.int
getArgCount()
ReferencedEnvelope
invert(ReferencedEnvelope renderingEnvelope)
Returns an translated rendering envelope if the offsets are not using feature attributes.-
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
accept, evaluate
-
Methods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParameters
-
-
-
-
Field Detail
-
NAME
public static FunctionName NAME
-
-
Method Detail
-
getArgCount
public int getArgCount()
-
evaluate
public Object evaluate(Object feature)
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
-
invert
public ReferencedEnvelope invert(ReferencedEnvelope renderingEnvelope)
Returns an translated rendering envelope if the offsets are not using feature attributes. If the offsets are feature dependent the user will have to expand the rendering area via the renderer buffer parameter- Specified by:
invert
in interfaceGeometryTransformation
-
-