Route Class

Definition

High-level representation of a route (a list of waypoints)

public sealed class Route
type Route = class
Public NotInheritable Class Route
Inheritance
Route

Constructors

Route(String)

Starts with an empty route

Route(String, GeographicPosition[])

Creates a route from an ordered set of points

Route(String, List<RoutePoint>, RoutePoint)

Construct a route from a list of points. This gets precedence over an externally defined route.

Properties

HasPoints

True if the route is not empty

Name

Name of the route

NextPoint

The next point on the route

Points

The points on the route

StartPoint

Gets the first point of the route

Methods

AddPoint(RoutePoint)

Adds the given point to the end of the route

SetNextPoint(GeographicPosition)

Sets the next point on the route (i.e. to skip a missed waypoint)

SetNextPoint(RoutePoint)

Sets the next point on the route (i.e. to skip a missed waypoint)

Applies to