ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.FindTriangleIndex Method

The triangle at the specified location.

[Visual Basic .NET]
Public Function FindTriangleIndex ( _
    ByVal pPoint As IPoint _
) As Integer
public int FindTriangleIndex (
    IPoint pPoint
HRESULT FindTriangleIndex(
  IPoint* pPoint,
  long* pTriangle


pPoint [in]

  pPoint is a parameter of type IPoint

pTriangle [out, retval]   pTriangle is a parameter of type long

Product Availability

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


Returns the index of the triangle that encompasses the point.

If the point falls completely outside the TIN, including the area represented by its super nodes, the returned index will be 0.

See Also

ITinAdvanced2 Interface