com.esri.arcgis.carto
Interface IIndexQuery

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FeatureIndex, IIndexQueryProxy

public interface IIndexQuery
extends java.io.Serializable

COM Interface 'IIndexQuery'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the index created with IFeatureIndex.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID59f60295_c1fb_11d2_9f23_00c04f6bc886
           
static int xxDummy
          Deprecated. Internal use only
 
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.
 

Field Detail

IID59f60295_c1fb_11d2_9f23_00c04f6bc886

static final int IID59f60295_c1fb_11d2_9f23_00c04f6bc886
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

nearestFeature

void nearestFeature(IGeometry pShape,
                    int[] pClosestFeatureFID,
                    double[] pDistance)
                    throws java.io.IOException,
                           AutomationException
Finds the nearest feature in index to the input shape.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWithin

IFeatureCursor getWithin(IGeometry pShape)
                         throws java.io.IOException,
                                AutomationException
Finds all features that the input shape lies within.

Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.