Package org.geotools.filter.function
Class FilterFunction_minimumCircle
- Object
-
- ExpressionAbstract
-
- DefaultExpression
-
- FunctionExpressionImpl
-
- FilterFunction_minimumCircle
-
- All Implemented Interfaces:
Expression
,Function
,FunctionExpression
,Factory
public class FilterFunction_minimumCircle extends FunctionExpressionImpl
A FilterFunction that expects a Geometry and returns it's minimum bounding circle.- Author:
- Jared Erickson
-
-
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_minimumCircle()
Create a new FilterFunction_minimumCircle instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Object feature)
Calculate the Geometry's minimum bounding circle.-
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 Detail
-
NAME
public static FunctionName NAME
-
-
Method Detail
-
evaluate
public Object evaluate(Object feature)
Calculate the Geometry's minimum bounding circle.- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionExpressionImpl
- Parameters:
feature
- The feature should be a Geometry- Returns:
- The minimum bounding circle Geometry
- Throws:
IllegalArgumentException
- if the feature is not a Geometry
-
-