Table of Contents

Class S421PassagePlan

Namespace
EncDotNet.S100.Datasets.S421.DataModel
Assembly
EncDotNet.S100.Datasets.S421.dll

Converts an S421Route to the PassagePlan the route checks take.

public static class S421PassagePlan
Inheritance
S421PassagePlan
Inherited Members

Remarks

  • Leg i runs from waypoint i to waypoint i + 1 and reads waypoint i's outgoing RouteWaypointLeg (OutgoingLeg): its draft, static UKC, port and starboard cross-track distance limits (metres) and geometry type (2, geodesic, is a great circle; anything else a rhumb line).
  • Speeds and the departure come from the planning schedule variant (GetPlanningSchedule()). A leg's speed is its start waypoint's planned SOG, when positive; the departure is the variant's first element's ETD.

S-421 has no squat allowance, so every leg's squat is zero.

Methods

ToPassagePlan(S421Route)

The route as a passage plan.

public static PassagePlan ToPassagePlan(this S421Route route)

Parameters

route S421Route

The route.

Returns

PassagePlan

The plan: one leg per pair of consecutive waypoints (none with fewer than two), named "Leg 1 → 2" and so on.