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
AreaRouteAreaThe area.
RelationRouteAreaRelationHow it relates to the route.
LegIndexint?The leg where the route first meets it, or
nullwhen off.StartDistanceMetersdoubleDistance from departure to where the route first meets it;
NaNwhen off.EndDistanceMetersdoubleDistance from departure to where the route leaves it;
NaNwhen off.InForceboolWhether it is in force while the vessel is there (
falsewhen off).FindingRouteFindingThe finding, or
nullwhen off.
Properties
Area
The area.
public RouteArea Area { get; init; }
Property Value
EndDistanceMeters
Distance from departure to where the route leaves it; NaN when off.
public double EndDistanceMeters { get; init; }
Property Value
Finding
The finding, or null when off.
public RouteFinding? Finding { get; init; }
Property Value
InForce
Whether it is in force while the vessel is there (false when off).
public bool InForce { get; init; }
Property Value
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
StartDistanceMeters
Distance from departure to where the route first meets it; NaN when off.
public double StartDistanceMeters { get; init; }