public class TinTriangle extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITinElement, ITinTriangle, ITinFeatureSeed, ISupportErrorInfo
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 =
IID, IID3e541323_1132_11d2_92f7_444553540000, xxDummy
IID3e541320_1132_11d2_92f7_444553540000
IID, IIDbb5dbc74_b9ca_11d5_abbb_0008c73fd50c, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public TinTriangle() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic TinTriangle(java.lang.Object obj) throws java.io.IOException
TinTriangle theTinTriangle = (TinTriangle) obj;
obj
to TinTriangle
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isEmpty() throws java.io.IOException, AutomationException
isEmpty
in interface ITinElement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITin getTheTin() throws java.io.IOException, AutomationException
getTheTin
in interface ITinElement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getIndex() throws java.io.IOException, AutomationException
getIndex
in interface ITinElement
getIndex
in interface ITinFeatureSeed
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getTagValue() throws java.io.IOException, AutomationException
getTagValue
in interface ITinElement
getTagValue
in interface ITinFeatureSeed
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEmpty() throws java.io.IOException, AutomationException
setEmpty
in interface ITinElement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void init(ITin pTin, int index) throws java.io.IOException, AutomationException
init
in interface ITinElement
pTin
- A reference to a com.esri.arcgis.geodatabase.ITin (in)index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isInsideDataArea() throws java.io.IOException, AutomationException
isInsideDataArea
in interface ITinElement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITinNode getNode(int index) throws java.io.IOException, AutomationException
getNode
in interface ITinTriangle
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITinEdge getEdge(int index) throws java.io.IOException, AutomationException
getEdge
in interface ITinTriangle
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getArea() throws java.io.IOException, AutomationException
getArea
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getPerimeter() throws java.io.IOException, AutomationException
getPerimeter
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getArea3D() throws java.io.IOException, AutomationException
getArea3D
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getPerimeter3D() throws java.io.IOException, AutomationException
getPerimeter3D
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryNormal(IVector3D pNormal) throws java.io.IOException, AutomationException
queryNormal
in interface ITinTriangle
pNormal
- A reference to a com.esri.arcgis.geometry.IVector3D (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getSlopeRadians() throws java.io.IOException, AutomationException
getSlopeRadians
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getSlopeDegrees() throws java.io.IOException, AutomationException
getSlopeDegrees
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getSlopePercent() throws java.io.IOException, AutomationException
getSlopePercent
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getAspectRadians() throws java.io.IOException, AutomationException
getAspectRadians
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getAspectDegrees() throws java.io.IOException, AutomationException
getAspectDegrees
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getIntensity() throws java.io.IOException, AutomationException
getIntensity
in interface ITinTriangle
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryVertices(_WKSPointZ[] pPi, _WKSPointZ[] pPj, _WKSPointZ[] pPk) throws java.io.IOException, AutomationException
queryVertices
in interface ITinTriangle
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryAsRing(IRing pRing) throws java.io.IOException, AutomationException
queryAsRing
in interface ITinTriangle
pRing
- A reference to a com.esri.arcgis.geometry.IRing (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryCentroid(IPoint pCentroid) throws java.io.IOException, AutomationException
queryCentroid
in interface ITinTriangle
pCentroid
- A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryCircumCircle(IPoint pCenter, double[] pRadius) throws java.io.IOException, AutomationException
queryCircumCircle
in interface ITinTriangle
pCenter
- A reference to a com.esri.arcgis.geometry.IPoint (in)pRadius
- The pRadius (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryElevationBand(double zLowerBound, double zUpperBound, int[] pCount, _WKSPointZ[] pRegion) throws java.io.IOException, AutomationException
queryElevationBand
in interface ITinTriangle
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryAdjacentTriangles(ITinTriangle pTi, ITinTriangle pTj, ITinTriangle pTk) throws java.io.IOException, AutomationException
queryAdjacentTriangles
in interface ITinTriangle
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryAdjacentTriangleIndices(int[] pTi, int[] pTj, int[] pTk) throws java.io.IOException, AutomationException
queryAdjacentTriangleIndices
in interface ITinTriangle
pTi
- The pTi (out: use single element array)pTj
- The pTj (out: use single element array)pTk
- The pTk (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUseTagValue() throws java.io.IOException, AutomationException
isUseTagValue
in interface ITinFeatureSeed
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUseTagValue(boolean pbUseTagValue) throws java.io.IOException, AutomationException
setUseTagValue
in interface ITinFeatureSeed
pbUseTagValue
- The pbUseTagValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.