Class S421PassagePlan
Converts an S421Route to the PassagePlan the route checks take.
public static class S421PassagePlan
- Inheritance
-
S421PassagePlan
- Inherited Members
Remarks
-
Leg
iruns from waypointito waypointi + 1and reads waypointi's outgoingRouteWaypointLeg(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
routeS421RouteThe route.
Returns
- PassagePlan
The plan: one leg per pair of consecutive waypoints (none with fewer than two), named "Leg 1 → 2" and so on.