This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters pPoint [in]
pPoint is a parameter of type IPoint*
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.