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


ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced3 Interface > ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method
ArcGIS Developer Help

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
);
[C++]
Parameters
edgeIndex [in]

edgeIndex 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