org.geotools.filter.spatial
Class DWithinImpl

java.lang.Object
  extended by org.geotools.filter.FilterAbstract
      extended by org.geotools.filter.AbstractFilter
          extended by org.geotools.filter.BinaryComparisonAbstract
              extended by org.geotools.filter.GeometryFilterImpl
                  extended by org.geotools.filter.CartesianDistanceFilter
                      extended by org.geotools.filter.spatial.DWithinImpl
All Implemented Interfaces:
FilterType, GeometryDistanceFilter, GeometryFilter, org.opengis.filter.BinaryComparisonOperator, org.opengis.filter.Filter, org.opengis.filter.spatial.BinarySpatialOperator, org.opengis.filter.spatial.DistanceBufferOperator, org.opengis.filter.spatial.DWithin, org.opengis.filter.spatial.SpatialOperator

public class DWithinImpl
extends CartesianDistanceFilter
implements org.opengis.filter.spatial.DWithin


Field Summary
 
Fields inherited from class org.geotools.filter.BinaryComparisonAbstract
expression1, expression2
 
Fields inherited from class org.geotools.filter.AbstractFilter
filterType, permissiveConstruction
 
Fields inherited from class org.geotools.filter.FilterAbstract
factory
 
Fields inherited from interface org.opengis.filter.spatial.DWithin
NAME
 
Fields inherited from interface org.opengis.filter.Filter
EXCLUDE, INCLUDE
 
Fields inherited from interface org.geotools.filter.Filter
ALL, NONE
 
Fields inherited from interface org.geotools.filter.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
 
Constructor Summary
DWithinImpl(org.opengis.filter.FilterFactory factory, org.opengis.filter.expression.Expression e1, org.opengis.filter.expression.Expression e2)
           
 
Method Summary
 java.lang.Object accept(org.opengis.filter.FilterVisitor visitor, java.lang.Object extraData)
          Subclass should override, default implementation just returns extraData
 boolean evaluate(java.lang.Object feature)
           
 
Methods inherited from class org.geotools.filter.CartesianDistanceFilter
equals, getDistance, getDistanceUnits, hashCode, setDistance, setUnits, toString
 
Methods inherited from class org.geotools.filter.GeometryFilterImpl
addLeftGeometry, addRightGeometry, evaluate, getLeftGeometry, getLeftGeometry, getRightGeometry, getRightGeometry, setExpression1, setExpression2, validate
 
Methods inherited from class org.geotools.filter.BinaryComparisonAbstract
and, comparable, eval, getExpression1, getExpression2, isMatchingCase, not, or
 
Methods inherited from class org.geotools.filter.AbstractFilter
accept, contains, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
 
Methods inherited from class org.geotools.filter.FilterAbstract
accepts, eval, eval, eval
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.filter.spatial.DistanceBufferOperator
getDistance, getDistanceUnits
 
Methods inherited from interface org.opengis.filter.spatial.BinarySpatialOperator
getExpression1, getExpression2
 
Methods inherited from interface org.geotools.filter.GeometryDistanceFilter
contains
 
Methods inherited from interface org.geotools.filter.GeometryFilter
addLeftGeometry, addRightGeometry, getLeftGeometry, getRightGeometry
 
Methods inherited from interface org.geotools.filter.Filter
accept, and, evaluate, getFilterType, not, or
 

Constructor Detail

DWithinImpl

public DWithinImpl(org.opengis.filter.FilterFactory factory,
                   org.opengis.filter.expression.Expression e1,
                   org.opengis.filter.expression.Expression e2)
Method Detail

evaluate

public boolean evaluate(java.lang.Object feature)
Specified by:
evaluate in interface org.opengis.filter.Filter

accept

public java.lang.Object accept(org.opengis.filter.FilterVisitor visitor,
                               java.lang.Object extraData)
Description copied from class: FilterAbstract
Subclass should override, default implementation just returns extraData

Specified by:
accept in interface org.opengis.filter.Filter
Overrides:
accept in class FilterAbstract


Copyright © 1996-2010 Geotools. All Rights Reserved.