ArcObjects Library Reference (Carto)  

FeatureIndex CoClass

A feature class index.

Product Availability

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

Description

The FeatureIndex object is used to build a spatial index of features from a FeatureClass in memory for the purpose of finding the intersected features, nearest features, and within features. 

Since there is a fair amount of overhead required to build this index, it is not efficient to use this object if the spatial operation is only going to be applied once.  However, if many spatial queries are to be performed over the same set of features, than you may gain some performance benefits using this object.

It is important to always make sure that the Spatial References between the FeatureClass used to build the FeatureIndex and the query shape are either the same or IFeatureIndex.OutputSpatialReference has been called.  Otherwise, the results will not be correct.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IFeatureIndex Provides access to members that control the creation of an index on a feature class.
IFeatureIndex2 Provides access to members that control the creation of an index on a feature class.
IIndexQuery Provides access to members that control the index created with IFeatureIndex.
IIndexQuery2 Provides access to members that control the index created with IFeatureIndex.

See Also

IFeatureIndex Interface | IIndexQuery Interface