com.esri.arcgis.carto
Interface IIndexQuery2

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

public interface IIndexQuery2
extends java.io.Serializable

COM Interface 'IIndexQuery2'. 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 IID3df5374b_2cee_11d4_a6a5_0008c7d3ae8d
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IFeatureCursor getWithin(IGeometry pShape)
          Finds all features that the input shape lies within.
 void intersectedFeatures(IGeometry pShape, java.lang.Object[] pSAIds)
          Finds all intersected features in index to the input shape.
 void nearestFeature(IGeometry pShape, int[] pClosestFeatureFID, double[] pDistance)
          Finds the nearest feature in index to the input shape.
 void nearestFeatures(IGeometry pShape, java.lang.Object[] pSAIds, double[] pDistance)
          Finds all nearest features in index to the input shape (i.e.
 int withinFeature(IGeometry pShape)
          Finds the first feature that the input shape lies within.
 

Field Detail

IID3df5374b_2cee_11d4_a6a5_0008c7d3ae8d

static final int IID3df5374b_2cee_11d4_a6a5_0008c7d3ae8d
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.

nearestFeatures

void nearestFeatures(IGeometry pShape,
                     java.lang.Object[] pSAIds,
                     double[] pDistance)
                     throws java.io.IOException,
                            AutomationException
Finds all nearest features in index to the input shape (i.e. equal distance).

Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pSAIds - A Variant (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.

intersectedFeatures

void intersectedFeatures(IGeometry pShape,
                         java.lang.Object[] pSAIds)
                         throws java.io.IOException,
                                AutomationException
Finds all intersected features in index to the input shape.

Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pSAIds - A Variant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

withinFeature

int withinFeature(IGeometry pShape)
                  throws java.io.IOException,
                         AutomationException
Finds the first feature that the input shape lies within.

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