com.esri.arcgis.geodatabase
Class TinEdgeEnumerator

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

public class TinEdgeEnumerator
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumTinElement, IEnumTinEdge, ISupportErrorInfo

The Esri TinEdgeEnumerator component.

Description

The TinEdgeEnumerator object is used for iterative TinEdge processing on TINs. For example, to return all hard breakline edges in a TIN. TinFilters, like TinEdgeTypeFilter and TinDataElementFilter are used to control which edges are passed back by the enumerator. Custom, application specific, filters can be used as well.

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinEdgeEnumerator(Object obj)
          Construct a TinEdgeEnumerator 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
 ITinEdge IEnumTinEdge_next()
          Gets next edge element.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 ITinElement next()
          Gets next element.
 void queryNext(ITinEdge pEdge)
          Queries next edge element.
 void queryNext(ITinElement pElement)
          Queries next element.
 void queryNextAsWKSPointZs(_WKSPointZ[] pFrom, _WKSPointZ[] pTo, boolean[] pbIsEnd)
          Queries next edge 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

TinEdgeEnumerator

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

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

Throws:
IOException - if there are interop problems TinEdgeEnumerator theTinEdgeEnumerator = (TinEdgeEnumerator) 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 IEnumTinEdge
Specified by:
reset in interface IEnumTinElement
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.

IEnumTinEdge_next

public ITinEdge IEnumTinEdge_next()
                           throws IOException,
                                  AutomationException
Gets next edge element.

Product Availability

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

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

queryNext

public void queryNext(ITinEdge pEdge)
               throws IOException,
                      AutomationException
Queries next edge element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

queryNextAsWKSPointZs

public void queryNextAsWKSPointZs(_WKSPointZ[] pFrom,
                                  _WKSPointZ[] pTo,
                                  boolean[] pbIsEnd)
                           throws IOException,
                                  AutomationException
Queries next edge 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 IEnumTinEdge
Parameters:
pFrom - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pTo - 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.