This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IP > IPointCollectionTracker Interface > IPointCollectionTracker.FindNodeIndex Method (ArcObjects .NET 10.4 SDK) |
Finds the node index for the vertex under the given point. Returns -1 if the point is not within the tolerance distance of a vertex in the point collection.
[Visual Basic .NET] Public Function FindNodeIndex ( _ ByVal cursorPosition As IPoint _ ) As Integer
[C#] public int FindNodeIndex ( IPoint cursorPosition );
[C++]
HRESULT FindNodeIndex(
IPoint* cursorPosition,
long* nodeIndex
);
[C++]
Parameters cursorPosition [in]
cursorPosition is a parameter of type IPoint nodeIndex [out, retval] nodeIndex is a parameter of type long