com.esri.arcgis.geodatabase
Class TinTriangle

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

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

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

Description 'The Esri TinTriangle 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.ITinTriangle
IID, IID3e541323_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
TinTriangle()
          Constructs a TinTriangle using ArcGIS Engine.
TinTriangle(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinTriangle theTinTriangle = (TinTriangle) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getArea()
          The projected area of the specified TIN triangle.
 double getArea3D()
          The area of the specified triangle as measured on the TIN surface.
 double getAspectDegrees()
          The aspect of the specified triangle in degrees.
 double getAspectRadians()
          The aspect of the specified triangle in radians.
static java.lang.String getClsid()
          getClsid.
 ITinEdge getEdge(int index)
          The triangle edge specified by the index.
 int getIndex()
          The element's index number.
 double getIntensity()
          The brightness value of the specified triangle.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ITinNode getNode(int index)
          The triangle node specified by the index.
 double getPerimeter()
          The projected perimeter of the specified TIN triangle.
 double getPerimeter3D()
          The perimeter of the specified triangle as measured on the TIN surface.
 double getSlopeDegrees()
          The slope of the specified triangle in degrees.
 double getSlopePercent()
          The slope of the specified triangle in percent.
 double getSlopeRadians()
          The slope of the specified triangle in radians.
 int getTagValue()
          The tag value of the specified element.
 ITin getTheTin()
          The TIN object referenced by the element.
 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 queryAdjacentTriangleIndices(int[] pTi, int[] pTj, int[] pTk)
          An array of index numbers belonging to triangles adjacent to the specified triangle.
 void queryAdjacentTriangles(ITinTriangle pTi, ITinTriangle pTj, ITinTriangle pTk)
          The array of triangles adjacent to the specified triangle.
 void queryAsRing(IRing pRing)
          Sets the specified triangle as a ring.
 void queryCentroid(IPoint pCentroid)
          The centroid of the specified triangle as determined by averaging the coordinates of its vertices.
 void queryCircumCircle(IPoint pCenter, double[] pRadius)
          The circle circumscribing the specified triangle about its vertices.
 void queryElevationBand(double zLowerBound, double zUpperBound, int[] pCount, _WKSPointZ[] pRegion)
          The polygon based on the specified triangle and input bounds.
 void queryNormal(IVector3D pNormal)
          The vector normal to the specified triangle.
 void queryVertices(_WKSPointZ[] pPi, _WKSPointZ[] pPj, _WKSPointZ[] pPk)
          The vertices of the specified triangle as point features.
 void release()
          Release a TinTriangle.
 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

TinTriangle

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

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

TinTriangle

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

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

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 TinTriangle.

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.

getNode

public ITinNode getNode(int index)
                 throws java.io.IOException,
                        AutomationException
The triangle node specified by the index.

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

getEdge

public ITinEdge getEdge(int index)
                 throws java.io.IOException,
                        AutomationException
The triangle edge specified by the index.

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

getArea

public double getArea()
               throws java.io.IOException,
                      AutomationException
The projected area of the specified TIN triangle.

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

getPerimeter

public double getPerimeter()
                    throws java.io.IOException,
                           AutomationException
The projected perimeter of the specified TIN triangle.

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

getArea3D

public double getArea3D()
                 throws java.io.IOException,
                        AutomationException
The area of the specified triangle as measured on the TIN surface.

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

getPerimeter3D

public double getPerimeter3D()
                      throws java.io.IOException,
                             AutomationException
The perimeter of the specified triangle as measured on the TIN surface.

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

queryNormal

public void queryNormal(IVector3D pNormal)
                 throws java.io.IOException,
                        AutomationException
The vector normal to the specified triangle.

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

getSlopeRadians

public double getSlopeRadians()
                       throws java.io.IOException,
                              AutomationException
The slope of the specified triangle in radians.

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

getSlopeDegrees

public double getSlopeDegrees()
                       throws java.io.IOException,
                              AutomationException
The slope of the specified triangle in degrees.

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

getSlopePercent

public double getSlopePercent()
                       throws java.io.IOException,
                              AutomationException
The slope of the specified triangle in percent.

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

getAspectRadians

public double getAspectRadians()
                        throws java.io.IOException,
                               AutomationException
The aspect of the specified triangle in radians.

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

getAspectDegrees

public double getAspectDegrees()
                        throws java.io.IOException,
                               AutomationException
The aspect of the specified triangle in degrees.

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

getIntensity

public double getIntensity()
                    throws java.io.IOException,
                           AutomationException
The brightness value of the specified triangle.

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

queryVertices

public void queryVertices(_WKSPointZ[] pPi,
                          _WKSPointZ[] pPj,
                          _WKSPointZ[] pPk)
                   throws java.io.IOException,
                          AutomationException
The vertices of the specified triangle as point features.

Specified by:
queryVertices in interface ITinTriangle
Parameters:
pPi - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pPj - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pPk - 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.

queryAsRing

public void queryAsRing(IRing pRing)
                 throws java.io.IOException,
                        AutomationException
Sets the specified triangle as a ring.

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

queryCentroid

public void queryCentroid(IPoint pCentroid)
                   throws java.io.IOException,
                          AutomationException
The centroid of the specified triangle as determined by averaging the coordinates of its vertices.

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

queryCircumCircle

public void queryCircumCircle(IPoint pCenter,
                              double[] pRadius)
                       throws java.io.IOException,
                              AutomationException
The circle circumscribing the specified triangle about its vertices.

Specified by:
queryCircumCircle in interface ITinTriangle
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
pRadius - The pRadius (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryElevationBand

public void queryElevationBand(double zLowerBound,
                               double zUpperBound,
                               int[] pCount,
                               _WKSPointZ[] pRegion)
                        throws java.io.IOException,
                               AutomationException
The polygon based on the specified triangle and input bounds.

Specified by:
queryElevationBand in interface ITinTriangle
Parameters:
zLowerBound - The zLowerBound (in)
zUpperBound - The zUpperBound (in)
pCount - The pCount (out: use single element array)
pRegion - 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.

queryAdjacentTriangles

public void queryAdjacentTriangles(ITinTriangle pTi,
                                   ITinTriangle pTj,
                                   ITinTriangle pTk)
                            throws java.io.IOException,
                                   AutomationException
The array of triangles adjacent to the specified triangle.

Specified by:
queryAdjacentTriangles in interface ITinTriangle
Parameters:
pTi - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
pTj - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
pTk - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAdjacentTriangleIndices

public void queryAdjacentTriangleIndices(int[] pTi,
                                         int[] pTj,
                                         int[] pTk)
                                  throws java.io.IOException,
                                         AutomationException
An array of index numbers belonging to triangles adjacent to the specified triangle.

Specified by:
queryAdjacentTriangleIndices in interface ITinTriangle
Parameters:
pTi - The pTi (out: use single element array)
pTj - The pTj (out: use single element array)
pTk - The pTk (out: use single element array)
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.