|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.carto.FeatureIndex
public class FeatureIndex
COM Class 'FeatureIndex'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IFeatureIndex |
---|
IID, IID59f60294_c1fb_11d2_9f23_00c04f6bc886, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IFeatureIndex2 |
---|
IID, IIDbc2e4428_1311_42fb_b364_0aa46f03a1ac, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IIndexQuery |
---|
IID, IID59f60295_c1fb_11d2_9f23_00c04f6bc886, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IIndexQuery2 |
---|
IID, IID3df5374b_2cee_11d4_a6a5_0008c7d3ae8d, xxDummy |
Constructor Summary | |
---|---|
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; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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 a FeatureIndex. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureIndex() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.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 Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setFeatureClassByRef(IFeatureClass rhs1) throws java.io.IOException, AutomationException
setFeatureClassByRef
in interface IFeatureIndex
setFeatureClassByRef
in interface IFeatureIndex2
rhs1
- 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 IFeatureIndex
setFeatureCursorByRef
in interface IFeatureIndex2
rhs1
- 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 IFeatureIndex
index
in interface IFeatureIndex2
pTrackCancel
- 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 IFeatureIndex2
fieldName
- 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 IFeatureIndex2
fieldName
- 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 IIndexQuery
nearestFeature
in interface IIndexQuery2
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)
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 IIndexQuery
getWithin
in interface IIndexQuery2
pShape
- 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 IIndexQuery2
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)
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 IIndexQuery2
pShape
- 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 IIndexQuery2
pShape
- 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |