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


ITinAdvanced.QueryNearestNode Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.QueryNearestNode Method

Finds and returns the nearest node to the query point.

[Visual Basic .NET]
Public Sub QueryNearestNode ( _
    ByVal pPoint As IPoint, _
    ByVal pNode As ITinNode, _
    ByRef pDistance As Double _
)
[C#]
public void QueryNearestNode (
    IPoint pPoint,
    ITinNode pNode,
    ref double pDistance
);
[C++]
HRESULT QueryNearestNode(
  IPoint* pPoint,
  ITinNode* pNode,
  double* pDistance
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint pNode
pNode is a parameter of type ITinNode pDistance pDistance is a parameter of type double

Product Availability

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

See Also

ITinAdvanced Interface