Interface IIndexQuery2

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll

Provides access to members that control the index created with IFeatureIndex.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3DF5374B-2CEE-11D4-A6A5-0008C7D3AE8D")]
public interface IIndexQuery2

Properties

Within[IGeometry]

Finds all features that the input shape lies within.

IFeatureCursor Within[IGeometry pShape] { get; }

Parameters

pShape IGeometry

Property Value

IFeatureCursor

Methods

IntersectedFeatures(IGeometry, out object)

Finds all intersected features in index to the input shape.

void IntersectedFeatures(IGeometry pShape, out object pSAIds)

Parameters

pShape IGeometry
pSAIds object

NearestFeature(IGeometry, out int, out double)

Finds the nearest feature in index to the input shape.

void NearestFeature(IGeometry pShape, out int pClosestFeatureFID, out double pDistance)

Parameters

pShape IGeometry
pClosestFeatureFID int
pDistance double

NearestFeatures(IGeometry, out object, out double)

Finds all nearest features in index to the input shape (i.e. equal distance).

void NearestFeatures(IGeometry pShape, out object pSAIds, out double pDistance)

Parameters

pShape IGeometry
pSAIds object
pDistance double

WithinFeature(IGeometry)

Finds the first feature that the input shape lies within.

int WithinFeature(IGeometry pShape)

Parameters

pShape IGeometry

Returns

int