com.esri.core.internal.value
Class SpatialFilter

java.lang.Object
  extended by com.esri.core.internal.value.SpatialFilter
All Implemented Interfaces:
Serializable

public class SpatialFilter
extends Object
implements Serializable

The SpatialFilter class represents a spatial filter which includes a input geometry and spatial relationship. This serves as an input for queries with spatial constraints.

Examples:
1. Envelope Geometry & Constants.esriSpatialRelContains
2. Polygon Geometry & Constants.esriSpatialRelIntersects

See Also:
Serialized Form

Constructor Summary
SpatialFilter(Geometry geometry, SpatialRelationship spatialRelationship)
           
 
Method Summary
 Geometry getGeometry()
           
 SpatialRelationship getSpatialRelationship()
           
 void setGeometry(Geometry geometry)
           
 void setSpatialRelationship(SpatialRelationship spatialRelationship)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpatialFilter

public SpatialFilter(Geometry geometry,
                     SpatialRelationship spatialRelationship)
Method Detail

getGeometry

public Geometry getGeometry()

getSpatialRelationship

public SpatialRelationship getSpatialRelationship()

setGeometry

public void setGeometry(Geometry geometry)

setSpatialRelationship

public void setSpatialRelationship(SpatialRelationship spatialRelationship)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.