public class

SpatialFilter

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.map.SpatialFilter

Class Overview

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

You can for example construct a spatial filter using:

Summary

Public Constructors
SpatialFilter(Geometry geometry, SpatialRelationship spatialRelationship)
Public Methods
Geometry getGeometry()
SpatialRelationship getSpatialRelationship()
void setGeometry(Geometry geometry)
void setSpatialRelationship(SpatialRelationship spatialRelationship)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SpatialFilter (Geometry geometry, SpatialRelationship spatialRelationship)

Parameters
geometry Geometry
spatialRelationship SpatialRelationship

Public Methods

public Geometry getGeometry ()

Returns
Geometry

public SpatialRelationship getSpatialRelationship ()

public void setGeometry (Geometry geometry)

Parameters
geometry Geometry

public void setSpatialRelationship (SpatialRelationship spatialRelationship)

Parameters
spatialRelationship SpatialRelationship

public String toString ()

Returns
String