This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.FindTriangleIndex Method (ArcObjects .NET 10.4 SDK) |
The triangle at the specified location.
[Visual Basic .NET] Public Function FindTriangleIndex ( _ ByVal pPoint As IPoint _ ) As Integer
[C#] public int FindTriangleIndex ( IPoint pPoint );
[C++]
HRESULT FindTriangleIndex(
IPoint* pPoint,
long* pTriangle
);
[C++]
Parameters pPoint [in]
pPoint is a parameter of type IPoint pTriangle [out, retval] pTriangle is a parameter of type long
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.