PositionBearingTo Method (Int32, Int32, Double, CardinalPoint, Int32, Int32, Double, CardinalPoint)

ZylGpsReceiver.NET Mobile
Returns bearing in decimal degrees between one point and the current position.

Namespace:  ZylSoft.Gps.Mobile
Assembly:  ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
Syntax

public double BearingTo(
	int latitudeDegree,
	int latitudeMinute,
	double latitudeSecond,
	CardinalPoint latitudeDirection,
	int longitudeDegree,
	int longitudeMinute,
	double longitudeSecond,
	CardinalPoint longitudeDirection
)

Parameters

latitudeDegree
Type: SystemInt32
degree part of the point's latitude.
latitudeMinute
Type: SystemInt32
minute part of the point's latitude.
latitudeSecond
Type: SystemDouble
Second part of the point's latitude.
latitudeDirection
Type: ZylSoft.Gps.MobileCardinalPoint
Direction part of the point's latitude.
longitudeDegree
Type: SystemInt32
degree part of the point's longitude.
longitudeMinute
Type: SystemInt32
minute part of the point's longitude.
longitudeSecond
Type: SystemDouble
Second part of the point's longitude.
longitudeDirection
Type: ZylSoft.Gps.MobileCardinalPoint
Direction part of the point's longitude.

Return Value

Type: Double
Bearing in decimal degrees.
See Also

Reference