|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEnumGeometryBind
Provides access to members that bind a feature cursor or a selection to a geometry enumerator.
This interface allows a newly-instantiated EnumFeatureGeometry object to be bound to either a feature class or a selection set. The object can then be cast to the IEnumGeometry interface and the geometries can be iterated through. This is effectively a shortcut to use instead of creating a search cursor on the feature class or selection set and retrieving geometries from the features returned.
Method Summary | |
---|---|
void |
bindGeometrySource(IQueryFilter outputFilter,
Object collectionSource)
Bind the source of the geometry to 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. |
Method Detail |
---|
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.
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.void getGeometrySource(Object[] geometrySource) throws IOException, AutomationException
geometrySource
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getOutputFilter(IQueryFilter outputFilter) throws IOException, AutomationException
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |