Provides access to members that control the index created with IFeatureIndex.
Members
| Name | Description | |
|---|---|---|
![]() |
IntersectedFeatures | Finds all intersected features in index to the input shape. |
![]() |
NearestFeature | Finds the nearest feature in index to the input shape. |
![]() |
NearestFeatures | Finds all nearest features in index to the input shape (i.e. equal distance). |
![]() |
Within | Finds all features that the input shape lies within. |
![]() |
WithinFeature | Finds the first feature that the input shape lies within. |
IIndexQuery2.IntersectedFeatures Method
Finds all intersected features in index to the input shape.
Public Sub IntersectedFeatures ( _
ByVal pShape As IGeometry, _
ByRef pSAIds As Object _
)
public void IntersectedFeatures (
IGeometry pShape,
ref object pSAIds
);
IIndexQuery2.NearestFeature Method
Finds the nearest feature in index to the input shape.
Public Sub NearestFeature ( _
ByVal pShape As IGeometry, _
ByRef pClosestFeatureFID As Integer, _
ByRef pDistance As Double _
)
public void NearestFeature (
IGeometry pShape,
ref int pClosestFeatureFID,
ref double pDistance
);
IIndexQuery2.NearestFeatures Method
Finds all nearest features in index to the input shape (i.e. equal distance).
Public Sub NearestFeatures ( _
ByVal pShape As IGeometry, _
ByRef pSAIds As Object, _
ByRef pDistance As Double _
)
public void NearestFeatures (
IGeometry pShape,
ref object pSAIds,
ref double pDistance
);
IIndexQuery2.Within Property
Finds all features that the input shape lies within.
Public Function get_Within ( _
ByVal pShape As IGeometry _
) As IFeatureCursor
public IFeatureCursor get_Within (
IGeometry pShape
);
IIndexQuery2.WithinFeature Method
Finds the first feature that the input shape lies within.
Public Function WithinFeature ( _
ByVal pShape As IGeometry _
) As Integer
public int WithinFeature (
IGeometry pShape
);
Classes that implement IIndexQuery2
| Classes | Description |
|---|---|
| FeatureIndex | A feature class index. |

