This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.GetLeftTriangleIndex Method (ArcObjects .NET 10.4 SDK) |
Gets left triangle index of the specified edge.
[Visual Basic .NET] Public Function GetLeftTriangleIndex ( _ ByVal edgeIndex As Integer _ ) As Integer
[C#] public int GetLeftTriangleIndex ( int edgeIndex );
[C++]
HRESULT GetLeftTriangleIndex(
long edgeIndex,
long* pTriangle
);
[C++]
Parameters edgeIndex [in] edgeIndex is a parameter of type long pTriangle [out, retval] pTriangle is a parameter of type long
Returns the index of the triangle on the left side of the specified edge. Note that edges of triangles are ordered clockwise.
If the edge is on the extreme perimeter of the TIN, the returned index will equal 0, meaning no triangle, as the base index for triangles is 1.