com.esri.arcgis.geodatabase
Class TinEdge

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TinEdge
All Implemented Interfaces:
ITinEdge, ITinElement, ITinFeatureSeed, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class TinEdge
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinElement, ITinEdge, ITinFeatureSeed, ISupportErrorInfo

COM Class 'TinEdge'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'The Esri TinEdge component.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinEdge
IID, IID3e541322_1132_11d2_92f7_444553540000, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinElement
IID3e541320_1132_11d2_92f7_444553540000
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinFeatureSeed
IID, IIDbb5dbc74_b9ca_11d5_abbb_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
TinEdge()
          Constructs a TinEdge using ArcGIS Engine.
TinEdge(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinEdge theTinEdge = (TinEdge) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getAzimuthDegrees()
          The azimuthal direction of the specified edge beginning at the FromNode in degrees.
 double getAzimuthRadians()
          The azimuthal direction of the specified edge beginning at the FromNode in radians.
static java.lang.String getClsid()
          getClsid.
 ITinNode getFromNode()
          The originating node of the specified edge.
 int getIndex()
          The element's index number.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ITinTriangle getLeftTriangle()
          The triangle on the left (opposite) side of the specified edge.
 double getLength()
          The projected length of the specified edge.
 double getLength3D()
          The length of the specified edge measured on the TIN surface.
 ITinEdge getNeighbor()
          Returns the corresponding edge of the triangle opposite to the specified edge.
 ITinEdge getNextCCW()
          Returns the edge terminating at the FromNode of the specified edge.
 ITinEdge getNextCW()
          Returns the edge beginning at the ToNode of the specified edge.
 ITinEdge getNextInTriangle()
          Returns the next triangle sharing the FromNode of the specified edge in a clockwise direction.
 ITinEdge getPreviousInTriangle()
          Returns the next triangle sharing the FromNode of the specified edge in a counter-clockwise direction.
 ITinTriangle getRightTriangle()
          The triangle on the right side of the specified edge.
 int getTagValue()
          The tag value of the specified element.
 ITin getTheTin()
          The TIN object referenced by the element.
 ITinNode getToNode()
          The terminating node of the specified edge.
 int getType()
          The type of the specified edge.
 int hashCode()
          the hashcode for this object
 void init(ITin pTin, int index)
          Initializes a new TIN element.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isEmpty()
          Indicates if the specified element is uninitialized.
 boolean isInsideDataArea()
          Indicates if the specified element is within the interpolation zone of the TIN.
 boolean isUseTagValue()
          Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.
 void queryAsLine(ILine pLine)
          Sets the specified edge equal to a line.
 void queryAsWKSPointZs(_WKSPointZ[] pFrom, _WKSPointZ[] pTo)
          Sets the specified edge equal to its nodes as points with z values.
 void release()
          Release a TinEdge.
 void setEmpty()
          Uninitializes the element.
 void setUseTagValue(boolean pbUseTagValue)
          Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TinEdge

public TinEdge()
        throws java.io.IOException,
               java.net.UnknownHostException
Constructs a TinEdge using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TinEdge

public TinEdge(java.lang.Object obj)
        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinEdge theTinEdge = (TinEdge) obj;

Construct a TinEdge using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TinEdge.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TinEdge.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isEmpty

public boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates if the specified element is uninitialized.

Specified by:
isEmpty in interface ITinElement
Returns:
The pbIsEmpty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTheTin

public ITin getTheTin()
               throws java.io.IOException,
                      AutomationException
The TIN object referenced by the element.

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

getIndex

public int getIndex()
             throws java.io.IOException,
                    AutomationException
The element's index number.

Specified by:
getIndex in interface ITinElement
Specified by:
getIndex in interface ITinFeatureSeed
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTagValue

public int getTagValue()
                throws java.io.IOException,
                       AutomationException
The tag value of the specified element.

Specified by:
getTagValue in interface ITinElement
Specified by:
getTagValue in interface ITinFeatureSeed
Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Uninitializes the element.

Specified by:
setEmpty in interface ITinElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(ITin pTin,
                 int index)
          throws java.io.IOException,
                 AutomationException
Initializes a new TIN element.

Specified by:
init in interface ITinElement
Parameters:
pTin - A reference to a com.esri.arcgis.geodatabase.ITin (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInsideDataArea

public boolean isInsideDataArea()
                         throws java.io.IOException,
                                AutomationException
Indicates if the specified element is within the interpolation zone of the TIN.

Specified by:
isInsideDataArea in interface ITinElement
Returns:
The pbIsInside
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the specified edge.

Specified by:
getType in interface ITinEdge
Returns:
A com.esri.arcgis.geodatabase.esriTinEdgeType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromNode

public ITinNode getFromNode()
                     throws java.io.IOException,
                            AutomationException
The originating node of the specified edge.

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

getToNode

public ITinNode getToNode()
                   throws java.io.IOException,
                          AutomationException
The terminating node of the specified edge.

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

getLeftTriangle

public ITinTriangle getLeftTriangle()
                             throws java.io.IOException,
                                    AutomationException
The triangle on the left (opposite) side of the specified edge.

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

getRightTriangle

public ITinTriangle getRightTriangle()
                              throws java.io.IOException,
                                     AutomationException
The triangle on the right side of the specified edge.

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

getLength

public double getLength()
                 throws java.io.IOException,
                        AutomationException
The projected length of the specified edge.

Specified by:
getLength in interface ITinEdge
Returns:
The pLength
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLength3D

public double getLength3D()
                   throws java.io.IOException,
                          AutomationException
The length of the specified edge measured on the TIN surface.

Specified by:
getLength3D in interface ITinEdge
Returns:
The pLength
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuthRadians

public double getAzimuthRadians()
                         throws java.io.IOException,
                                AutomationException
The azimuthal direction of the specified edge beginning at the FromNode in radians.

Specified by:
getAzimuthRadians in interface ITinEdge
Returns:
The pAzimuth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuthDegrees

public double getAzimuthDegrees()
                         throws java.io.IOException,
                                AutomationException
The azimuthal direction of the specified edge beginning at the FromNode in degrees.

Specified by:
getAzimuthDegrees in interface ITinEdge
Returns:
The pAzimuth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAsLine

public void queryAsLine(ILine pLine)
                 throws java.io.IOException,
                        AutomationException
Sets the specified edge equal to a line.

Specified by:
queryAsLine in interface ITinEdge
Parameters:
pLine - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAsWKSPointZs

public void queryAsWKSPointZs(_WKSPointZ[] pFrom,
                              _WKSPointZ[] pTo)
                       throws java.io.IOException,
                              AutomationException
Sets the specified edge equal to its nodes as points with z values.

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

getNextInTriangle

public ITinEdge getNextInTriangle()
                           throws java.io.IOException,
                                  AutomationException
Returns the next triangle sharing the FromNode of the specified edge in a clockwise direction.

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

getPreviousInTriangle

public ITinEdge getPreviousInTriangle()
                               throws java.io.IOException,
                                      AutomationException
Returns the next triangle sharing the FromNode of the specified edge in a counter-clockwise direction.

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

getNeighbor

public ITinEdge getNeighbor()
                     throws java.io.IOException,
                            AutomationException
Returns the corresponding edge of the triangle opposite to the specified edge.

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

getNextCW

public ITinEdge getNextCW()
                   throws java.io.IOException,
                          AutomationException
Returns the edge beginning at the ToNode of the specified edge.

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

getNextCCW

public ITinEdge getNextCCW()
                    throws java.io.IOException,
                           AutomationException
Returns the edge terminating at the FromNode of the specified edge.

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

isUseTagValue

public boolean isUseTagValue()
                      throws java.io.IOException,
                             AutomationException
Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.

Specified by:
isUseTagValue in interface ITinFeatureSeed
Returns:
The pbUseTagValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseTagValue

public void setUseTagValue(boolean pbUseTagValue)
                    throws java.io.IOException,
                           AutomationException
Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.

Specified by:
setUseTagValue in interface ITinFeatureSeed
Parameters:
pbUseTagValue - The pbUseTagValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

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