This document is archived and information here might be outdated. Recommended version. |
Returns all Natural Neighbors corresponding to the query point.
[Visual Basic .NET] Public Sub QueryNaturalNeighborIndices ( _ ByVal pPoint As IPoint, _ ByVal pNodes As ILongArray _ )
[C#] public void QueryNaturalNeighborIndices ( IPoint pPoint, ILongArray pNodes );
[C++]
HRESULT QueryNaturalNeighborIndices(
IPoint* pPoint,
ILongArray* pNodes
);
[C++] Parameters pPoint [in]
pPoint is a parameter of type IPoint* pNodes
pNodes is a parameter of type ILongArray*
Returns the indices of the nodes that are natural neighbors of the query point. This set represents those the point would connect to if inserted into the triangulation.
If the query point is coincident with an existing node, that nodes neighbors will be returned.
An empty set is returned if the query point falls outside the triangulation.
The passed LongArray must already be instantiated.
The TIN must be Delaunay.