Skip to main content

tack_rays

Function tack_rays 

Source
pub fn tack_rays(
    vessel: Position,
    true_wind_direction_deg: f64,
    beat_angle_deg: f64,
) -> (Position, Position)
Expand description

The vessel’s own two close-hauled headings right now, as ray endpoints from vessel itself – (starboard_end, port_end).

Unlike layline_rays, there is no mark to test fetchability against and so nothing to judge: a tack always has two possible headings, whatever they are actually good for. This is simply close_hauled_headings_deg, projected out to a chart-drawable length.