This document is archived and information here might be outdated.  Recommended version.


ITinAdvanced.FindTriangleNeighborhood Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.FindTriangleNeighborhood Method

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

Product Availability

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

Description

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.

 

See Also

ITinAdvanced Interface