|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITinTriangle
Provides access to members that control TIN triangles.
Method Summary | |
---|---|
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. |
ITinEdge |
getEdge(int index)
The triangle edge specified by the index. |
double |
getIntensity()
The brightness value of the specified triangle. |
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. |
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)
Deprecated. This method uses C style arrays which are not supported in the ArcGIS API for Java. It is replaced by GeoDatabaseHelper.queryElevationBand(com.esri.arcgis.geodatabase.ITinTriangle, double, double, int[], com.esri.arcgis.system._WKSPointZ[][]) . |
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. |
Methods inherited from interface com.esri.arcgis.geodatabase.ITinElement |
---|
getIndex, getTagValue, getTheTin, init, isEmpty, isInsideDataArea, setEmpty |
Method Detail |
---|
ITinNode getNode(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getEdge(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getArea() throws IOException, AutomationException
The returned value is the 2-D area of the triangle.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPerimeter() throws IOException, AutomationException
The returned value represents the 2-D distance around the triangle boundary.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getArea3D() throws IOException, AutomationException
The returned value is the surface area of the triangle. It takes into consideration the 3-D nature of the triangle. The surface area will always equal to or larger than the 2-D, or projected, area. The larger the difference between 2-D and 3-D areas, the steeper the triangle.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPerimeter3D() throws IOException, AutomationException
The returned value represents the 3-D distance around the triangle boundary.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryNormal(IVector3D pNormal) throws IOException, AutomationException
You must pass an existing, pre-instantiated, IVector3D object. The X, Y, and Z component values of the vector orthogonal to the plane defined by the triangle will be written to the passed vector.
The magnitude of the vector is set relative to the size of the triangle.
pNormal
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSlopeRadians() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSlopeDegrees() throws IOException, AutomationException
Slope is the steepness of the triangle. The value of SlopeDegrees will be >= 0 and < 90. A slope of 100% is equivalent to 45 degrees (1 unit change in Z for 1 unit change in XY).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSlopePercent() throws IOException, AutomationException
Slope is the steepness of the triangle. The value of SlopePercent will be >= 0 and < infinity. A slope of 100% is equivalent to 45 degrees (1 unit change in Z for 1 unit change in XY).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAspectRadians() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAspectDegrees() throws IOException, AutomationException
The aspect is the compass direction of the steepest downhill slope of the triangle. A value of 0 degrees is due north, 90 degrees due east, 180 degrees due south, 270 degrees due west, etc.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getIntensity() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryVertices(_WKSPointZ[] pPi, _WKSPointZ[] pPj, _WKSPointZ[] pPk) throws IOException, AutomationException
Writes the X, Y, and Z coordinates of a triangle's nodes to WKSPointZ variables.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryAsRing(IRing pRing) throws IOException, AutomationException
Writes the triangle's X, Y, and Z node coordinates as points to an existing, pre-instantiated, Ring object.
pRing
- A reference to a com.esri.arcgis.geometry.IRing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryCentroid(IPoint pCentroid) throws IOException, AutomationException
Writes the triangle centroid, as defined by averaging its node coordinates, to an existing Point object. You must instantiate the Point before calling QueryCentroid. For example,
Dim pPoint as IPoint
Set pPoint = New Point
pCentroid
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryCircumCircle(IPoint pCenter, double[] pRadius) throws IOException, AutomationException
A triangle's circumcircle is the circle whose boundary passes through all three of the triangle's nodes.
The center of the circle is written to an existing, pre-instantiated, Point object. The radius is written to a double variable.
pCenter
- A reference to a com.esri.arcgis.geometry.IPoint (in)pRadius
- The pRadius (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryElevationBand(double zLowerBound, double zUpperBound, int[] pCount, _WKSPointZ[] pRegion) throws IOException, AutomationException
GeoDatabaseHelper.queryElevationBand(com.esri.arcgis.geodatabase.ITinTriangle, double, double, int[], com.esri.arcgis.system._WKSPointZ[][])
.
Returns a 3-D polygonal definition for the area of the triangle that falls within the specified ZMin and ZMax. The returned count indicates how many vertices define the area. The vertices are written to the passed WKSPointZ array.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryAdjacentTriangles(ITinTriangle pTi, ITinTriangle pTj, ITinTriangle pTk) throws IOException, AutomationException
Provides the three triangles on the opposite sides of the edges of this triangle. The three passed triangle objects must have already been instantiated. They will be written to.
Triangles that border the TIN's extreme perimeter will not have adjacent triangles on all sides. IsEmpty will return True for the passed triangles that are undefined because of this condition.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryAdjacentTriangleIndices(int[] pTi, int[] pTj, int[] pTk) throws IOException, AutomationException
Provides the index values of the three triangles on the opposite sides of the edges of this triangle. Triangles that border the TIN's extreme perimeter will not have adjacent triangles on all sides. The indices returned for these will be 0.
pTi
- The pTi (out: use single element array)pTj
- The pTj (out: use single element array)pTk
- The pTk (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |