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


ITinAdvanced2.QueryTriangleNeighborhoodIndices Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.QueryTriangleNeighborhoodIndices Method

Returns all triangles whose circumscribed circle contains the query point.

[Visual Basic .NET]
Public Sub QueryTriangleNeighborhoodIndices ( _
    ByVal pPoint As IPoint, _
    ByVal pTriangles As ILongArray _
)
[C#]
public void QueryTriangleNeighborhoodIndices (
    IPoint pPoint,
    ILongArray pTriangles
);
[C++]
HRESULT QueryTriangleNeighborhoodIndices(
  IPoint* pPoint,
  ILongArray* pTriangles
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint pTriangles
pTriangles is a parameter of type ILongArray

Product Availability

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

Description

Returns the indices of all triangles that would be effected if the query point were inserted in the triangulation. These are the triangles whose circumscribed circles contain the query point.

No special attention is paid to the presence of breaklines or whether the query point falls inside the interpolation zone. Triangles connected to super nodes may be included in the returned set.

An empty set will be returned if the query point resides entirely outside the triangulation (including the super node extent).

The passed object that implements ILongArray must have already been instantiated.

See Also

ITinAdvanced2 Interface