This document is archived and information here might be outdated.  Recommended version.


ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ITinAdvanced3 Interface