Table of Contents

Class RouteAreaMatch

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

One area against the route, found or not.

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

Constructors

RouteAreaMatch(RouteArea, RouteAreaRelation, int?, double, double, bool, RouteFinding?)

One area against the route, found or not.

public RouteAreaMatch(RouteArea Area, RouteAreaRelation Relation, int? LegIndex, double StartDistanceMeters, double EndDistanceMeters, bool InForce, RouteFinding? Finding)

Parameters

Area RouteArea

The area.

Relation RouteAreaRelation

How it relates to the route.

LegIndex int?

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

StartDistanceMeters double

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

EndDistanceMeters double

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

InForce bool

Whether it is in force while the vessel is there (false when off).

Finding RouteFinding

The finding, or null when off.

Properties

Area

The area.

public RouteArea Area { get; init; }

Property Value

RouteArea

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.

public RouteFinding? Finding { get; init; }

Property Value

RouteFinding

InForce

Whether it is in force while the vessel is there (false when off).

public bool InForce { get; init; }

Property Value

bool

LegIndex

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

public int? LegIndex { get; init; }

Property Value

int?

Relation

How it relates to the route.

public RouteAreaRelation Relation { get; init; }

Property Value

RouteAreaRelation

StartDistanceMeters

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

public double StartDistanceMeters { get; init; }

Property Value

double