This document is archived and information here might be outdated.  Recommended version.


ISpatialIndex Interface (ArcObjects .NET 10.5 SDK)
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.

Description

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.

Members

Description
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
GeometryBag An ordered collection of objects that support the IGeometry interface.
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