deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.filter.spatial
Class DWithin

java.lang.Object
  extended by org.deegree.filter.spatial.SpatialOperator
      extended by org.deegree.filter.spatial.DWithin
All Implemented Interfaces:
Operator

public class DWithin
extends SpatialOperator

If geometries are within the specified distance of one another.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.filter.spatial.SpatialOperator
SpatialOperator.SubType
 
Nested classes/interfaces inherited from interface org.deegree.filter.Operator
Operator.Type
 
Constructor Summary
DWithin(PropertyName propName, Geometry geometry, Measure distance)
           
 
Method Summary
 boolean evaluate(MatchableObject object)
          Determines the value of the boolean operator.
 Measure getDistance()
           
 Geometry getGeometry()
           
 Object[] getParams()
           
 PropertyName getPropName()
           
 String toString(String indent)
           
 
Methods inherited from class org.deegree.filter.spatial.SpatialOperator
checkGeometryOrNull, getCompatibleGeometry, getSubType, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DWithin

public DWithin(PropertyName propName,
               Geometry geometry,
               Measure distance)
Method Detail

evaluate

public boolean evaluate(MatchableObject object)
                 throws FilterEvaluationException
Description copied from interface: Operator
Determines the value of the boolean operator.

Parameters:
object - MatchableObject to evaluate the operator against
Returns:
true, if the operator evaluates to true, false otherwise
Throws:
FilterEvaluationException - if the evaluation fails

getPropName

public PropertyName getPropName()
Returns:
the propName

getGeometry

public Geometry getGeometry()
Returns:
the geometry

getDistance

public Measure getDistance()
Returns:
the distance

toString

public String toString(String indent)

getParams

public Object[] getParams()
Specified by:
getParams in class SpatialOperator

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>