com.esri.arcgis.geodatabase
Class TinTriangleEnumerator

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TinTriangleEnumerator
All Implemented Interfaces:
IEnumTinElement, IEnumTinTriangle, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class TinTriangleEnumerator
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumTinElement, IEnumTinTriangle, ISupportErrorInfo

The ESRI TinTriangleEnumerator component.

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

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

TinTriangleEnumerator

public TinTriangleEnumerator(Object obj)
                      throws IOException
Construct a TinTriangleEnumerator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TinTriangleEnumerator.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
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

Throws:
IOException - if there are interop problems TinTriangleEnumerator theTinTriangleEnumerator = (TinTriangleEnumerator) obj;
Method Detail

equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumerator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IEnumTinElement
Specified by:
reset in interface IEnumTinTriangle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public ITinElement next()
                 throws IOException,
                        AutomationException
Gets next element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumTinElement
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNext

public void queryNext(ITinElement pElement)
               throws IOException,
                      AutomationException
Queries next element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryNext in interface IEnumTinElement
Parameters:
pElement - A reference to a com.esri.arcgis.geodatabase.ITinElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IEnumTinTriangle_next

public ITinTriangle IEnumTinTriangle_next()
                                   throws IOException,
                                          AutomationException
Gets next triangle elements.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
IEnumTinTriangle_next in interface IEnumTinTriangle
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNext

public void queryNext(ITinTriangle pTriangle)
               throws IOException,
                      AutomationException
Queries next triangle elements.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryNext in interface IEnumTinTriangle
Parameters:
pTriangle - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNextAsWKSPointZs

public void queryNextAsWKSPointZs(_WKSPointZ[] pPi,
                                  _WKSPointZ[] pPj,
                                  _WKSPointZ[] pPk,
                                  boolean[] pbIsEnd)
                           throws IOException,
                                  AutomationException
Queries next triangle element as a WKS point with z values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryNextAsWKSPointZs in interface IEnumTinTriangle
Parameters:
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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextTriangleStrip

public ITinNodeArray nextTriangleStrip(int maxSize)
                                throws IOException,
                                       AutomationException
Gets next triangle strip.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
nextTriangleStrip in interface IEnumTinTriangle
Parameters:
maxSize - The maxSize (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinNodeArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextTriangleStripIndices

public ILongArray nextTriangleStripIndices(int maxSize)
                                    throws IOException,
                                           AutomationException
Gets next triangle strip indices.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
nextTriangleStripIndices in interface IEnumTinTriangle
Parameters:
maxSize - The maxSize (in)
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.