Returns angle and distance from this waypoint to wp.

Namespace: FlightPlan
Assembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Distance(
	Waypoint wp,
	out double course,
	out double dist
)
Visual Basic
Public Sub Distance ( _
	wp As Waypoint, _
	<OutAttribute> ByRef course As Double, _
	<OutAttribute> ByRef dist As Double _
)
Visual C++
public:
void Distance(
	Waypoint^ wp, 
	[OutAttribute] double% course, 
	[OutAttribute] double% dist
)

Parameters

wp
Type: FlightPlan..::..Waypoint
A Waypoint
course
Type: System..::..Double%
A Double with the azimuth angle in degrees.
dist
Type: System..::..Double%
A Double with the distance in meters.

See Also