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
public ITinTriangleArray FindTriangleNeighborhood (
    IPoint pPoint
HRESULT FindTriangleNeighborhood(
  IPoint* pPoint,
  ITinTriangleArray** ppTriangles


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.


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