Class RtzPassagePlan
Converts an RtzRoute to the PassagePlan the route checks take.
public static class RtzPassagePlan
- Inheritance
-
RtzPassagePlan
- Inherited Members
Remarks
-
Leg
iruns from waypointito waypointi + 1and reads the<leg>of waypointi + 1(in RTZ a waypoint's leg is the leg to it), with the default waypoint's values filled in (GetEffectiveLeg(int)). - Cross-track limits are nautical miles in RTZ; the draft is the deeper of the forward and aft draughts (MaxDraught); an orthodrome leg is a great circle, anything else a rhumb line.
- Speeds and the departure come from the planning schedule (GetPlanningSchedule()). A leg's speed is on the element of the waypoint it leads to; without one it's implied by that element's ETA and the previous element's departure, rounded to 0.01 kn. The plan's departure is the first waypoint's (Departure: its ETD, else its ETA plus its stay).
RTZ has no squat allowance, so every leg's squat is zero.
Methods
ToPassagePlan(RtzRoute)
The route as a passage plan.
public static PassagePlan ToPassagePlan(this RtzRoute route)
Parameters
routeRtzRouteThe route.
Returns
- PassagePlan
The plan: one leg per pair of consecutive waypoints (none with fewer than two), named "Leg 1 → 2" and so on.