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


ISpatialIndex Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialIndex Interface
ArcGIS Developer Help

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 by ISpatialIndex2. 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

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

Classes that implement ISpatialIndex

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.