This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced Interface > ITinAdvanced.FindTriangleNeighborhood Method (ArcObjects .NET 10.4 SDK) |
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,
ITinTriangleArray** ppTriangles
);
[C++]
Parameters pPoint [in]
pPoint is a parameter of type IPoint ppTriangles [out, retval]
ppTriangles is a parameter of type ITinTriangleArray
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.