com.esri.arcgis.geodatabase
Class TinSurfaceElement

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

public class TinSurfaceElement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinSurfaceElement

The ESRI TinSurfaceElement component.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinSurfaceElement(Object obj)
          Construct a TinSurfaceElement using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 double getAspectDegrees()
          The aspect of the element in degrees.
 double getElevation()
          The z value of the element.
 int getFaceTagValue()
          The face tag value of the triangle associated with the element.
 int getNodeTagValue()
          The node tag value of the associated triangle node closest to the element.
 double getSlopeDegrees()
          The slope of the element in degrees.
 ITinTriangle getTriangle()
          The triangle referenced by the element.
 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

TinSurfaceElement

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

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

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

getElevation

public double getElevation()
                    throws IOException,
                           AutomationException
The z value of the element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getElevation in interface ITinSurfaceElement
Returns:
The pElevation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopeDegrees

public double getSlopeDegrees()
                       throws IOException,
                              AutomationException
The slope of the element in degrees.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSlopeDegrees in interface ITinSurfaceElement
Returns:
The pSlope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectDegrees

public double getAspectDegrees()
                        throws IOException,
                               AutomationException
The aspect of the element in degrees.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAspectDegrees in interface ITinSurfaceElement
Returns:
The pAspect
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFaceTagValue

public int getFaceTagValue()
                    throws IOException,
                           AutomationException
The face tag value of the triangle associated with the element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFaceTagValue in interface ITinSurfaceElement
Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeTagValue

public int getNodeTagValue()
                    throws IOException,
                           AutomationException
The node tag value of the associated triangle node closest to the element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNodeTagValue in interface ITinSurfaceElement
Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTriangle

public ITinTriangle getTriangle()
                         throws IOException,
                                AutomationException
The triangle referenced by the element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTriangle in interface ITinSurfaceElement
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.