ArcObjects Library Reference (Geometry)  

ISpatialIndex Interface

Provides access to members that create a temporary spatial index for improving performance of "Disjoint" and some other relational operators. Note: the ISpatialIndex interface has been superseded byISpatialIndex2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The ISpatialIndex methods can be used to control whether or not a spatial index should be built and used for the IRelationalOperator operations. It also determines if an index should be built when getting an segment enumerators using ISegmentCollection::IndexedEnumSegments method.


Read/write property AllowIndexing Indicates whether to allow a spatial index to be created for this geometry.
Method Invalidate Invalidate the spatial index.

CoClasses that implement ISpatialIndex

CoClasses and Classes Description
GeoEllipse (esriDefenseSolutions) Its a spheroidal ellipse.
GeometryBag An ordered collection of objects that support the IGeometry interface.
GeoPolygon (esriDefenseSolutions) Its a spheroidal polygon.
GeoPolyline (esriDefenseSolutions) This is a spheroidal polyline.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.

.NET Related Topics

Executing spatial queries | Querying geodatabase tables