Package org.geotools.filter.spatial
Class BBOX3DImpl
- Object
-
- BBOX3DImpl
-
- All Implemented Interfaces:
Filter
,MultiValuedFilter
,BBOX
,BBOX3D
,BinarySpatialOperator
,SpatialOperator
public class BBOX3DImpl extends Object implements BBOX3D
A 3D BBOX Filter Implementation Supports filtering with BBOXes that have 3D coordinates including a minimum and maximum for the z-axis.- Author:
- Niels Charlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface MultiValuedFilter
MultiValuedFilter.MatchAction
-
-
Constructor Summary
Constructors Constructor Description BBOX3DImpl(PropertyName propertyName, ReferencedEnvelope3D env, FilterFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(FilterVisitor visitor, Object context)
Accepts a visitor.boolean
contains(SimpleFeature feature)
boolean
evaluate(Object feature)
Give an object, this method determines if the test(s) represented by this filter object are passed.boolean
evaluate(SimpleFeature feature)
ReferencedEnvelope3D
get3DEnvelope(Geometry geom)
BoundingBox3D
getBounds()
Return 3D Bounding Box object representing the bounds of the filter @Return Bounds of FilterExpression
getExpression1()
Returns an expression that will be evaluated to determine the first operand to the spatial predicate represented by this operator.Expression
getExpression2()
Returns an expression that will be evaluated to determine the second operand to the spatial predicate represented by this operator.MultiValuedFilter.MatchAction
getMatchAction()
* Flag Controlling MatchAction property When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken?PropertyName
getProperty()
String
getPropertyName()
boolean
isMatchingCase()
String
toString()
-
-
-
Constructor Detail
-
BBOX3DImpl
public BBOX3DImpl(PropertyName propertyName, ReferencedEnvelope3D env, FilterFactory factory)
-
-
Method Detail
-
getProperty
public PropertyName getProperty()
-
getPropertyName
public String getPropertyName()
-
getBounds
public BoundingBox3D getBounds()
Description copied from interface:BBOX3D
Return 3D Bounding Box object representing the bounds of the filter @Return Bounds of Filter
-
getExpression1
public Expression getExpression1()
Description copied from interface:BinarySpatialOperator
Returns an expression that will be evaluated to determine the first operand to the spatial predicate represented by this operator. The result of evaluating this expression must be a geometry object.- Specified by:
getExpression1
in interfaceBinarySpatialOperator
-
getExpression2
public Expression getExpression2()
Description copied from interface:BinarySpatialOperator
Returns an expression that will be evaluated to determine the second operand to the spatial predicate represented by this operator. The result of evaluating this expression must be a geometry object.- Specified by:
getExpression2
in interfaceBinarySpatialOperator
-
accept
public Object accept(FilterVisitor visitor, Object context)
Description copied from interface:Filter
Accepts a visitor.Implementations of all subinterfaces must have with a method whose content is the following:
return visitor.visit(this, extraData);
-
get3DEnvelope
public ReferencedEnvelope3D get3DEnvelope(Geometry geom)
-
evaluate
public boolean evaluate(Object feature)
Description copied from interface:Filter
Give an object, this method determines if the test(s) represented by this filter object are passed.This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
-
isMatchingCase
public boolean isMatchingCase()
-
contains
public boolean contains(SimpleFeature feature)
-
evaluate
public boolean evaluate(SimpleFeature feature)
-
getMatchAction
public MultiValuedFilter.MatchAction getMatchAction()
Description copied from interface:MultiValuedFilter
* Flag Controlling MatchAction property When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken? If there are n values for the left operand and m values for the right operand, there are n * m possible combinations that can be compared,ANY - if any of the possible combinations match, the result is true (aggregated OR) ALL - only if all of the possible combinations match, the result is true (aggregated AND) ONE - only if exactly one of the possible combinations match, the result is true (aggregated XOR)
- Specified by:
getMatchAction
in interfaceMultiValuedFilter
- Returns:
- MatchAction flag
-
-