This document is archived and information here might be outdated. Recommended version. |
Returns the junction EID nearest to the input point, and the physical point location that corresponds to the EID.
[Visual Basic .NET] Public Sub GetNearestJunction ( _ ByVal inputPoint As IPoint, _ ByRef nearestJunctionEID As Integer, _ ByRef location As IPoint _ )
[C#] public void GetNearestJunction ( IPoint inputPoint, ref int nearestJunctionEID, ref IPoint location );
[C++]
HRESULT GetNearestJunction(
IPoint* inputPoint,
System.Int32* nearestJunctionEID,
IPoint** location
);
[C++]
Parameters inputPoint [in]
inputPoint is a parameter of type IPoint* nearestJunctionEID [out]
nearestJunctionEID is a parameter of type long* location [out]
location is a parameter of type IPoint**
GetNearestJunction returns the element ID of the nearest junction feature.
The location parameter returns the geometry of the nearest junction feature that is nearest the input point.