Class RouteCheckCorridor
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
The corridor the check swept along one leg.
public sealed record RouteCheckCorridor : IEquatable<RouteCheckCorridor>
- Inheritance
-
RouteCheckCorridor
- Implements
- Inherited Members
Constructors
RouteCheckCorridor(int, double, double, double, double, IReadOnlyList<GeoPosition>)
The corridor the check swept along one leg.
public RouteCheckCorridor(int LegIndex, double StartDistanceMeters, double EndDistanceMeters, double PortHalfWidthMeters, double StarboardHalfWidthMeters, IReadOnlyList<GeoPosition> Ring)
Parameters
LegIndexintThe leg's index in the route.
StartDistanceMetersdoubleDistance from departure to the leg's start.
EndDistanceMetersdoubleDistance from departure to the leg's end.
PortHalfWidthMetersdoubleHow far the corridor reaches to port of the track.
StarboardHalfWidthMetersdoubleHow far the corridor reaches to starboard of the track.
RingIReadOnlyList<GeoPosition>The corridor's closed ring, in WGS-84: port side forward, then starboard side back.
Properties
EndDistanceMeters
Distance from departure to the leg's end.
public double EndDistanceMeters { get; init; }
Property Value
LegIndex
The leg's index in the route.
public int LegIndex { get; init; }
Property Value
PortHalfWidthMeters
How far the corridor reaches to port of the track.
public double PortHalfWidthMeters { get; init; }
Property Value
Ring
The corridor's closed ring, in WGS-84: port side forward, then starboard side back.
public IReadOnlyList<GeoPosition> Ring { get; init; }
Property Value
StarboardHalfWidthMeters
How far the corridor reaches to starboard of the track.
public double StarboardHalfWidthMeters { get; init; }
Property Value
StartDistanceMeters
Distance from departure to the leg's start.
public double StartDistanceMeters { get; init; }