ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.GetLeftTriangleIndex Method

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

Product Availability

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

Description

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.

See Also

ITinAdvanced2 Interface