RoutePoint Class

Definition

A point along a route. This is used to construct RoutePart and Waypoint sentences

public sealed class RoutePoint : IEquatable<Iot.Device.Nmea0183.RoutePoint>
type RoutePoint = class
    interface IEquatable<RoutePoint>
Public NotInheritable Class RoutePoint
Implements IEquatable(Of RoutePoint)
Inheritance
RoutePoint
Implements

Constructors

RoutePoint(String, Int32, Int32, String, GeographicPosition, Nullable<Angle>, Nullable<Length>)

Creates a new route point.

Properties

BearingToNextWaypoint

True bearing from this waypoint to the next

DistanceToNextWaypoint

The distance to the next waypoint

IndexInRoute

The index within the route

Position

The position of this point

RouteName

The name of the route

TotalPointsInRoute

The total number of points on the route

WaypointName

The name of this point

Methods

Equals(Object)

Equality comparer

Equals(RoutePoint)

Two points are considered equal if the name and the position are equal. The other properties are NMEA-internals and are not directly related to the function of the waypoint for the user

GetHashCode()

Standard hash function

Applies to