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 Objectaccept(FilterVisitor visitor, Object context)Accepts a visitor.booleancontains(SimpleFeature feature)booleanevaluate(Object feature)Give an object, this method determines if the test(s) represented by this filter object are passed.booleanevaluate(SimpleFeature feature)ReferencedEnvelope3Dget3DEnvelope(Geometry geom)BoundingBox3DgetBounds()Return 3D Bounding Box object representing the bounds of the filter @Return Bounds of FilterExpressiongetExpression1()Returns an expression that will be evaluated to determine the first operand to the spatial predicate represented by this operator.ExpressiongetExpression2()Returns an expression that will be evaluated to determine the second operand to the spatial predicate represented by this operator.MultiValuedFilter.MatchActiongetMatchAction()* 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?PropertyNamegetProperty()StringgetPropertyName()booleanisMatchingCase()StringtoString()
-
-
-
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:BBOX3DReturn 3D Bounding Box object representing the bounds of the filter @Return Bounds of Filter
-
getExpression1
public Expression getExpression1()
Description copied from interface:BinarySpatialOperatorReturns 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:
getExpression1in interfaceBinarySpatialOperator
-
getExpression2
public Expression getExpression2()
Description copied from interface:BinarySpatialOperatorReturns 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:
getExpression2in interfaceBinarySpatialOperator
-
accept
public Object accept(FilterVisitor visitor, Object context)
Description copied from interface:FilterAccepts 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:FilterGive 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:
getMatchActionin interfaceMultiValuedFilter- Returns:
- MatchAction flag
-
-