|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITinEdge
Provides access to members that control TIN edges.
Method Summary | |
---|---|
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. |
ITinNode |
getFromNode()
The originating node of the specified edge. |
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. |
ITinNode |
getToNode()
The terminating node of the specified edge. |
int |
getType()
The type of the specified 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. |
Methods inherited from interface com.esri.arcgis.geodatabase.ITinElement |
---|
getIndex, getTagValue, getTheTin, init, isEmpty, isInsideDataArea, setEmpty |
Method Detail |
---|
int getType() throws IOException, AutomationException
The type of an edge indicates whether or not it's an enforced breakline edge. If it's enforced the type will be equal to either esriTinHardEdge or esriTinSoftEdge. If it's not a breakline edge the type will equal esriTinRegularEdge.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinNode getFromNode() throws IOException, AutomationException
The FromNode of an edge is the first node of an edge. It is equivalent to the ToNode of the previous edge.
Each triangle in a TIN is comprised of three edges. The edges are oriented clockwise.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinNode getToNode() throws IOException, AutomationException
The ToNode of an edge is the second node of an edge. It is equivalent to the FromNode of the next edge.
Each triangle in a TIN is comprised of three edges. The edges are oriented clockwise.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinTriangle getLeftTriangle() throws IOException, AutomationException
Edges are always ordered clockwise, one after the other, in the triangle to which they belong. Because of this, edges on the absolute boundary of a triangulation have no LeftTriangle. A null pointer, or 'Nothing', will be returned as the LeftTriangle for these edges.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinTriangle getRightTriangle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getLength() throws IOException, AutomationException
Length represents the 2-D distance between the from and to nodes of the edge. It takes into consideration only the X and Y coordinates.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getLength3D() throws IOException, AutomationException
Length3D represents the 3-D distance between the from and to nodes of the edge. It takes into consideration X, Y, and Z coordinates.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAzimuthRadians() throws IOException, AutomationException
The azimuth represents the compass direction of the edge starting at the from node and heading toward the to node.
The returned value is in radians.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAzimuthDegrees() throws IOException, AutomationException
The azimuth represents the compass direction of the edge starting at the from node and heading toward the to node.
The returned value is in degrees.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryAsLine(ILine pLine) throws IOException, AutomationException
Writes the from and to nodes of the edge as points to an existing, pre-instantiated, Line object.
pLine
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryAsWKSPointZs(_WKSPointZ[] pFrom, _WKSPointZ[] pTo) throws IOException, AutomationException
Writes the from and to nodes of the edge as points to existing WKSPointZ variables.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getNextInTriangle() throws IOException, AutomationException
Returns the next edge ahead in the triangle. The next edge ahead is in the clockwise direction.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getPreviousInTriangle() throws IOException, AutomationException
Returns the previous edge in the triangle. The previous edge is counter-clockwise to this edge.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getNeighbor() throws IOException, AutomationException
A triangle is comprised of three edges. They are ordered clockwise one after another. So, the RightTriangle of an edge is the triangle the edge belongs to. An edge's neighboring edge is the edge of the LeftTriangle that shares the same nodes (although from and to are reversed).
GetNeighbor will return Nothing (a null pointer) when the edge is on the absolute boundary of the triangulation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getNextCW() throws IOException, AutomationException
Returns the next edge, in a neighboring triangle, that is clockwise to this edge relative to its from node. Consider the from node the center hub of a bicycle wheel and edges incident to it spokes. GetNextCW returns the next spoke (edge) clockwise.
This member is useful when you need to circle around nodes.
If the from node of an edge is one of the TIN's super nodes, GetNextCW will return 'Nothing' (a null pointer) when there is no next edge due to the fact the absolute boundary has been reached.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITinEdge getNextCCW() throws IOException, AutomationException
Returns the next edge, in a neighboring triangle, that is counter-clockwise to this edge relative to its from node. Consider the from node the center hub of a bicycle wheel and edges incident to it spokes. GetNextCCW returns the next spoke (edge) counter-clockwise.
This member is useful when you need to circle around nodes.
If the from node of an edge is one of the TIN's super nodes, GetNextCCW will return 'Nothing' (a null pointer) when there is no next edge due to the fact the absolute boundary has been reached.
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 |