|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.TinTriangleEnumerator
public class TinTriangleEnumerator
The Esri TinTriangleEnumerator component.
The TinTriangleEnumerator object is used for iterative TinTriangle processing on TINs. For example, to return all triangles within the interpolation zone (domain) of a TIN or the triangles of a TinPolygon. TinFilters, like TinValueFilter and TinDataElementFilter are used to control which triangles are passed back by the enumerator. Custom, application specific, filters can be used as well.
The TinTriangleEnumerator object isn't co-creatable. Other functions are used to create it. Tin and TinPolygon objects can create and return TinTriangleEnumerators.
Constructor Summary | |
---|---|
TinTriangleEnumerator(Object obj)
Construct a TinTriangleEnumerator using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
hashCode()
the hashcode for this object |
ITinTriangle |
IEnumTinTriangle_next()
Gets next triangle elements. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
ITinElement |
next()
Gets next element. |
ITinNodeArray |
nextTriangleStrip(int maxSize)
Gets next triangle strip. |
ILongArray |
nextTriangleStripIndices(int maxSize)
Gets next triangle strip indices. |
void |
queryNext(ITinElement pElement)
Queries next element. |
void |
queryNext(ITinTriangle pTriangle)
Queries next triangle elements. |
void |
queryNextAsWKSPointZs(_WKSPointZ[] pPi,
_WKSPointZ[] pPj,
_WKSPointZ[] pPk,
boolean[] pbIsEnd)
Queries next triangle element as a WKS point with z values. |
void |
reset()
Resets the enumerator. |
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 TinTriangleEnumerator(Object obj) throws IOException
obj
to TinTriangleEnumerator
. *
TinTriangleEnumerator o = (TinTriangleEnumerator)obj; // will not work
TinTriangleEnumerator o = new TinTriangleEnumerator(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TinTriangleEnumerator theTinTriangleEnumerator = (TinTriangleEnumerator) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void reset() throws IOException, AutomationException
reset
in interface IEnumTinElement
reset
in interface IEnumTinTriangle
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITinElement next() throws IOException, AutomationException
next
in interface IEnumTinElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNext(ITinElement pElement) throws IOException, AutomationException
queryNext
in interface IEnumTinElement
pElement
- A reference to a com.esri.arcgis.geodatabase.ITinElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITinTriangle IEnumTinTriangle_next() throws IOException, AutomationException
IEnumTinTriangle_next
in interface IEnumTinTriangle
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNext(ITinTriangle pTriangle) throws IOException, AutomationException
queryNext
in interface IEnumTinTriangle
pTriangle
- A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNextAsWKSPointZs(_WKSPointZ[] pPi, _WKSPointZ[] pPj, _WKSPointZ[] pPk, boolean[] pbIsEnd) throws IOException, AutomationException
queryNextAsWKSPointZs
in interface IEnumTinTriangle
pPi
- A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)pPj
- A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)pPk
- A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)pbIsEnd
- The pbIsEnd (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITinNodeArray nextTriangleStrip(int maxSize) throws IOException, AutomationException
nextTriangleStrip
in interface IEnumTinTriangle
maxSize
- The maxSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray nextTriangleStripIndices(int maxSize) throws IOException, AutomationException
nextTriangleStripIndices
in interface IEnumTinTriangle
maxSize
- The maxSize (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 |