This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced3 Interface > ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method (ArcObjects .NET 10.4 SDK) |
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,
long* pIndex
);
[C++]
Parameters edgeIndex [in] edgeIndex is a parameter of type long pIndex [out, retval] pIndex 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.