|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IIndexQuery
Provides access to members that control the index created with IFeatureIndex.
Use the methods available in this interface and in IIndexQuery2 to select indexed feature. See IFeatureIndex2.
| Method Summary | |
|---|---|
IFeatureCursor |
getWithin(IGeometry pShape)
Finds all features that the input shape lies within. |
void |
nearestFeature(IGeometry pShape,
int[] pClosestFeatureFID,
double[] pDistance)
Finds the nearest feature in index to the input shape. |
| Method Detail |
|---|
void nearestFeature(IGeometry pShape,
int[] pClosestFeatureFID,
double[] pDistance)
throws IOException,
AutomationException
Returns the nearest indexed feature and the distance to it based on the input shape.
Pass the returned long into IFeatureClass.GetFeature to get the corresponding feature.
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)pClosestFeatureFID - The pClosestFeatureFID (out: use single element array)pDistance - The pDistance (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IFeatureCursor getWithin(IGeometry pShape)
throws IOException,
AutomationException
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||