public class FeatureIndex extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IFeatureIndex, IFeatureIndex2, IIndexQuery, IIndexQuery2
Description 'A feature class index.' 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 =
IID, IID59f60294_c1fb_11d2_9f23_00c04f6bc886, xxDummyIID, IIDbc2e4428_1311_42fb_b364_0aa46f03a1ac, xxDummyIID, IID59f60295_c1fb_11d2_9f23_00c04f6bc886, xxDummyIID, IID3df5374b_2cee_11d4_a6a5_0008c7d3ae8d, xxDummy| Constructor and Description |
|---|
FeatureIndex()
Constructs a FeatureIndex using ArcGIS Engine.
|
FeatureIndex(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
FeatureIndex theFeatureIndex = (FeatureIndex) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
ISpatialReference |
getOutputSpatialReference(java.lang.String fieldName)
The spatial reference in which to output geometry for a given field.
|
IFeatureCursor |
getWithin(IGeometry pShape)
Finds all features that the input shape lies within.
|
int |
hashCode()
the hashcode for this object
|
void |
index(ITrackCancel pTrackCancel,
IEnvelope pQueryingGeometryFullExtent)
Creates index.
|
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.
|
void |
release()
Release this COM object reference
|
void |
setFeatureClassByRef(IFeatureClass rhs1)
FeatureClass to index.
|
void |
setFeatureCursorByRef(IFeatureCursor rhs1)
Cursor on feature class, to reduce the number of feature indexed (optional).
|
void |
setOutputSpatialReferenceByRef(java.lang.String fieldName,
ISpatialReference outputSpatialReference)
The spatial reference in which to output geometry for a given field.
|
int |
withinFeature(IGeometry pShape)
Finds the first feature that the input shape lies within.
|
public FeatureIndex()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic FeatureIndex(java.lang.Object obj)
throws java.io.IOException
FeatureIndex theFeatureIndex = (FeatureIndex) obj;obj to FeatureIndex.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void setFeatureClassByRef(IFeatureClass rhs1) throws java.io.IOException, AutomationException
setFeatureClassByRef in interface IFeatureIndexsetFeatureClassByRef in interface IFeatureIndex2rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFeatureCursorByRef(IFeatureCursor rhs1) throws java.io.IOException, AutomationException
setFeatureCursorByRef in interface IFeatureIndexsetFeatureCursorByRef in interface IFeatureIndex2rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void index(ITrackCancel pTrackCancel, IEnvelope pQueryingGeometryFullExtent) throws java.io.IOException, AutomationException
index in interface IFeatureIndexindex in interface IFeatureIndex2pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)pQueryingGeometryFullExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getOutputSpatialReference(java.lang.String fieldName) throws java.io.IOException, AutomationException
getOutputSpatialReference in interface IFeatureIndex2fieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setOutputSpatialReferenceByRef(java.lang.String fieldName,
ISpatialReference outputSpatialReference)
throws java.io.IOException,
AutomationException
setOutputSpatialReferenceByRef in interface IFeatureIndex2fieldName - The fieldName (in)outputSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void nearestFeature(IGeometry pShape, int[] pClosestFeatureFID, double[] pDistance) throws java.io.IOException, AutomationException
nearestFeature in interface IIndexQuerynearestFeature in interface IIndexQuery2pShape - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureCursor getWithin(IGeometry pShape) throws java.io.IOException, AutomationException
getWithin in interface IIndexQuerygetWithin in interface IIndexQuery2pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void nearestFeatures(IGeometry pShape, java.lang.Object[] pSAIds, double[] pDistance) throws java.io.IOException, AutomationException
nearestFeatures in interface IIndexQuery2pShape - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void intersectedFeatures(IGeometry pShape, java.lang.Object[] pSAIds) throws java.io.IOException, AutomationException
intersectedFeatures in interface IIndexQuery2pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)pSAIds - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int withinFeature(IGeometry pShape) throws java.io.IOException, AutomationException
withinFeature in interface IIndexQuery2pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.