|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.EnumFeatureGeometry
public class EnumFeatureGeometry
Esri enumerator for geometries of a feature class or selection set.
Constructor Summary | |
---|---|
EnumFeatureGeometry()
Constructs a EnumFeatureGeometry using ArcGIS Engine. |
|
EnumFeatureGeometry(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EnumFeatureGeometry theEnumFeatureGeometry = (EnumFeatureGeometry) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
bindGeometrySource(IQueryFilter outputFilter,
Object collectionSource)
Bind the source of the geometry to the enumeration. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of geometries in the enumeration. |
void |
getGeometrySource(Object[] geometrySource)
The geometry source - either a feature class or a selection set. |
void |
getOutputFilter(IQueryFilter outputFilter)
The query filter that was used to bind the geometry source. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
IGeometry |
next()
Returns the next geometry in the enumeration. |
void |
reset()
Starts the enumeration at the beginning. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public EnumFeatureGeometry() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic EnumFeatureGeometry(Object obj) throws IOException
EnumFeatureGeometry theEnumFeatureGeometry = (EnumFeatureGeometry) obj;
obj
to EnumFeatureGeometry
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IGeometry next() throws IOException, AutomationException
Returns the Next Geometry part from the current enumeration location.
next
in interface IEnumGeometry
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
Resets the current enumeration location to the null pointer at the beginning of the enumeration such that the Next Geometry is the first Geometry part in the enumeration.
reset
in interface IEnumGeometry
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
Returns the number of distinct geometry parts in the enumeration. This count is the same as the count returned by GeometryCount in a GeometryCollection.
getCount
in interface IEnumGeometry
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void bindGeometrySource(IQueryFilter outputFilter, Object collectionSource) throws IOException, AutomationException
This method binds the enumerator to a geometry source (a feature class or a selection set). After this method has been invoked on an object, the object can be cast to the IEnumGeometry interface in order to iterate through the geometries of the source.
A query filter should always be provided to the OutputFilter parameter. Passing a null value will not result in an error, but when using this interface the only field that can be inspected from returned features is the geometry field, and the query filter should reflect this.
bindGeometrySource
in interface IEnumGeometryBind
outputFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)collectionSource
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getGeometrySource(Object[] geometrySource) throws IOException, AutomationException
getGeometrySource
in interface IEnumGeometryBind
geometrySource
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getOutputFilter(IQueryFilter outputFilter) throws IOException, AutomationException
getOutputFilter
in interface IEnumGeometryBind
outputFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |