org.geotools.filter.spatial
Class DWithinImpl
Object
FilterAbstract
AbstractFilter
BinaryComparisonAbstract
GeometryFilterImpl
CartesianDistanceFilter
DWithinImpl
- All Implemented Interfaces:
- FilterType, GeometryDistanceFilter, GeometryFilter, BinaryComparisonOperator, Filter, MultiValuedFilter, BinarySpatialOperator, DistanceBufferOperator, DWithin, SpatialOperator
public class DWithinImpl
- extends CartesianDistanceFilter
- implements DWithin
Fields inherited from interface FilterType |
BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NULL |
Methods inherited from class GeometryFilterImpl |
addLeftGeometry, addRightGeometry, evaluate, evaluate, getGeometries, getLeftGeometry, getLeftGeometry, getMatchAction, getRightGeometry, getRightGeometry, setExpression1, setExpression2 |
DWithinImpl
public DWithinImpl(FilterFactory factory,
Expression e1,
Expression e2)
DWithinImpl
public DWithinImpl(FilterFactory factory,
Expression e1,
Expression e2,
MultiValuedFilter.MatchAction matchAction)
evaluateInternal
public boolean evaluateInternal(Geometry left,
Geometry right)
- Description copied from class:
GeometryFilterImpl
- Performs the calculation on the two geometries.
- Specified by:
evaluateInternal
in class GeometryFilterImpl
- Parameters:
left
- the geometry on the left of the equations (the geometry obtained from evaluating Expression1)right
- the geometry on the right of the equations (the geometry obtained from evaluating Expression2)
- Returns:
- true if the filter evaluates to true for the two geometries
accept
public Object accept(FilterVisitor visitor,
Object extraData)
- Description copied from class:
FilterAbstract
- Subclass should override, default implementation just returns extraData
- Specified by:
accept
in interface Filter
- Overrides:
accept
in class FilterAbstract
Copyright © 1996-2014 Geotools. All Rights Reserved.