Table of Contents

Class RouteWarningMatch

Namespace
EncDotNet.S100.Navigation
Assembly
EncDotNet.S100.Navigation.dll

One warning against the route, found or not.

public sealed record RouteWarningMatch : IEquatable<RouteWarningMatch>
Inheritance
RouteWarningMatch
Implements
Inherited Members

Constructors

RouteWarningMatch(RouteWarning, RouteWarningRelation, int?, double, double, double, RouteFinding?)

One warning against the route, found or not.

public RouteWarningMatch(RouteWarning Warning, RouteWarningRelation Relation, int? LegIndex, double StartDistanceMeters, double EndDistanceMeters, double ClosestMeters, RouteFinding? Finding)

Parameters

Warning RouteWarning

The warning.

Relation RouteWarningRelation

How it relates to the route.

LegIndex int?

The leg where the route first meets it, or null when off the route.

StartDistanceMeters double

Distance from departure to where the route first meets it (or passes closest); NaN when off.

EndDistanceMeters double

Distance from departure to where the route leaves it; NaN when off.

ClosestMeters double

The least distance between the track and the warning, 0 when the track crosses it.

Finding RouteFinding

The finding, or null when off the route.

Properties

ClosestMeters

The least distance between the track and the warning, 0 when the track crosses it.

public double ClosestMeters { get; init; }

Property Value

double

EndDistanceMeters

Distance from departure to where the route leaves it; NaN when off.

public double EndDistanceMeters { get; init; }

Property Value

double

Finding

The finding, or null when off the route.

public RouteFinding? Finding { get; init; }

Property Value

RouteFinding

LegIndex

The leg where the route first meets it, or null when off the route.

public int? LegIndex { get; init; }

Property Value

int?

Relation

How it relates to the route.

public RouteWarningRelation Relation { get; init; }

Property Value

RouteWarningRelation

StartDistanceMeters

Distance from departure to where the route first meets it (or passes closest); NaN when off.

public double StartDistanceMeters { get; init; }

Property Value

double

Warning

The warning.

public RouteWarning Warning { get; init; }

Property Value

RouteWarning