com.esri.arcgis.geodatabase
Class TinTriangleArray

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TinTriangleArray
All Implemented Interfaces:
ITinTriangleArray, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class TinTriangleArray
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinTriangleArray

The ESRI TinTriangleArray component.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinTriangleArray(Object obj)
          Construct a TinTriangleArray 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 getCount()
          The number of elements in the array.
 ITinTriangle getElement(int index)
          The element in the array.
 int hashCode()
          the hashcode for this object
 
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

TinTriangleArray

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

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

Throws:
IOException - if there are interop problems TinTriangleArray theTinTriangleArray = (TinTriangleArray) 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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of elements in the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface ITinTriangleArray
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public ITinTriangle getElement(int index)
                        throws IOException,
                               AutomationException
The element in the array.

Product Availability

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

Specified by:
getElement in interface ITinTriangleArray
Parameters:
index - The index (in)
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.