BearingAndDistanceToWayPoint Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
BWC message: Contains direction to the next waypoint, calculated on the great circle
public class BearingAndDistanceToWayPoint : Iot.Device.Nmea0183.Sentences.NmeaSentence
type BearingAndDistanceToWayPoint = class
inherit NmeaSentence
Public Class BearingAndDistanceToWayPoint
Inherits NmeaSentence
- Inheritance
Constructors
BearingAndDistanceToWayPoint(DateTimeOffset, String, GeographicPosition, Length, Angle, Angle) |
Create a new sentence |
BearingAndDistanceToWayPoint(TalkerId, IEnumerable<String>, DateTimeOffset) |
Internal ctor |
BearingAndDistanceToWayPoint(TalkerSentence, DateTimeOffset) |
Create a new instance |
Properties
Age |
Age of this message (Inherited from NmeaSentence) |
BearingMagneticToWayPoint |
Magnetic bearing to the waypoint |
BearingTrueToWayPoint |
True bearing to waypoint |
DateTime |
The time tag on this message (Inherited from NmeaSentence) |
DistanceToWayPoint |
Distance to next waypoint |
Id |
The id of this message is "BWC" |
NextWayPoint |
Position of next waypoint (the waypoint we're heading to) |
NextWayPointName |
Name of next waypoint |
ReplacesOlderInstance |
This is true for this message type |
SentenceId |
The sentence Id of this packet (Inherited from NmeaSentence) |
TalkerId |
The talker (sender) of this message (Inherited from NmeaSentence) |
Valid |
True if the contents of this message are valid / understood This is false if the message type could be decoded, but the contents seem invalid or there's no useful data (Inherited from NmeaSentence) |
Methods
AgeTo(DateTimeOffset) |
The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past. (Inherited from NmeaSentence) |
ReadChar(IEnumerator<String>) |
Decodes the next field into a char (Inherited from NmeaSentence) |
ReadInt(IEnumerator<String>) |
Decodes the next field into an int (Inherited from NmeaSentence) |
ReadString(IEnumerator<String>) |
Decodes the next field into a string (Inherited from NmeaSentence) |
ReadValue(IEnumerator<String>) |
Decodes the next field into a double (Inherited from NmeaSentence) |
ToNmeaMessage() |
Translates the properties of this instance into an NMEA message (Inherited from NmeaSentence) |
ToNmeaParameterList() |
Translates the properties of this instance into an NMEA message body, without TalkerId, SentenceId and checksum. |
ToReadableContent() |
Gets an user-readable string about this message |
ToString() |
Generates a readable instance of this string. Not overridable, use ToReadableContent() to override. (this is to prevent confusion with ToNmeaMessage().) Do not use this method to create an NMEA sentence. (Inherited from NmeaSentence) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for