This document is archived and information here might be outdated. Recommended version. |
Returns all triangles whose circumscribed circle contains the query point.
[Visual Basic .NET] Public Function FindTriangleNeighborhood ( _ ByVal pPoint As IPoint _ ) As ITinTriangleArray
[C#] public ITinTriangleArray FindTriangleNeighborhood ( IPoint pPoint );
[C++]
HRESULT FindTriangleNeighborhood(
IPoint* pPoint
);
[C++]
Parameters pPoint [in]
pPoint is a parameter of type IPoint*
Returns an array of triangles that are in proximity to the input query point.
The triangles returned are those that would be invalidated/redefined if the query point were inserted into the TIN as a new node.
In most cases, the number of triangles is small. It averages around 6-8. Depending on the data distribution and the location of the query point it can be much larger though.
Returns Nothing if result is empty set (query point outside tin).
The TIN must be Delaunay.