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
  • Constructor Details

  • Method Details

    • 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
      Specified by:
      getBounds in interface BBOX
      Specified by:
      getBounds in interface BBOX3D
    • 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 interface BinarySpatialOperator
    • 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 interface BinarySpatialOperator
    • 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);
      Specified by:
      accept in interface Filter
    • 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.

      Specified by:
      evaluate in interface Filter
      Returns:
      true if the test(s) are passed for the provided object
    • 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 interface MultiValuedFilter
      Returns:
      MatchAction flag
    • toString

      public String toString()
      Overrides:
      toString in class Object