This document is archived and information here might be outdated. Recommended version. |
Gets previous edge index in triangle.
[Visual Basic .NET]
Public Function GetPreviousEdgeIndexInTriangle ( _
ByVal edgeIndex As Integer _
) As Integer
[C#]
public int GetPreviousEdgeIndexInTriangle (
int edgeIndex
);
[C++]
HRESULT GetPreviousEdgeIndexInTriangle(
long edgeIndex
);
[C++] Parameters edgeIndex [in]
edgeIndex is a parameter of type long
Returns the index for the previous edge in a triangle relative to a given edge. Since nodes and edges are oriented clockwise in a TIN the previous edge is counter-clockwise to the given edge.
Use this method instead of ITinEdge.GetPreviousInTriangle when inside a loop.