com.esri.arcgis.geodatabase
Class TinNodeEnumerator

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

public class TinNodeEnumerator
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumTinElement, IEnumTinNode, ISupportErrorInfo

The Esri TinNodeEnumerator component.

Description

The TinNodeEnumerator object is used for iterative TinNode processing on TINs. For example, to return all nodes within the interpolation zone (domain) of a TIN or the nodes of a TinPolyline. TinFilters, like TinValueFilter and TinDataElementFilter are used to control which nodes are passed back by the enumerator. Custom, application specific, filters can be used as well.

The TinNodeEnumerator object isn't co-creatable. Other functions are used to create it. Tin, TinPolyline, and TinPolygon objects can create and return TinNodeEnumerators.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinNodeEnumerator(Object obj)
          Construct a TinNodeEnumerator 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
 ITinNode IEnumTinNode_next()
          Gets next node element.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 ITinElement next()
          Gets next element.
 void queryNext(ITinElement pElement)
          Queries next element.
 void queryNext(ITinNode pNode)
          Queries next node element.
 void queryNextAsWKSPointZ(_WKSPointZ[] pPoint, boolean[] pbIsEnd)
          Queries next node 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

TinNodeEnumerator

public TinNodeEnumerator(Object obj)
                  throws IOException
Construct a TinNodeEnumerator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TinNodeEnumerator.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
TinNodeEnumerator o = (TinNodeEnumerator)obj; // will not work

TinNodeEnumerator o = new TinNodeEnumerator(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems TinNodeEnumerator theTinNodeEnumerator = (TinNodeEnumerator) 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 IEnumTinNode
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.

IEnumTinNode_next

public ITinNode IEnumTinNode_next()
                           throws IOException,
                                  AutomationException
Gets next node element.

Product Availability

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

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

queryNext

public void queryNext(ITinNode pNode)
               throws IOException,
                      AutomationException
Queries next node element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

queryNextAsWKSPointZ

public void queryNextAsWKSPointZ(_WKSPointZ[] pPoint,
                                 boolean[] pbIsEnd)
                          throws IOException,
                                 AutomationException
Queries next node 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:
queryNextAsWKSPointZ in interface IEnumTinNode
Parameters:
pPoint - 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.

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.