pub fn vmg_to_wind_kn(boat_speed_kn: f64, true_wind_angle_deg: f64) -> f64Expand description
Speed made good directly to windward, knots.
Positive is progress towards the wind, so a boat on a run returns a negative value; its downwind VMG is that number negated. One function rather than two, because upwind and downwind VMG are the same projection and splitting them invites disagreeing sign conventions.