Skip to main content

position_angle

Function position_angle 

Source
pub fn position_angle(
    from_lon_lat_deg: (f64, f64),
    to_lon_lat_deg: (f64, f64),
) -> Result<f64, AngleError>
Expand description

Position angle (degrees, [0, 360)) of to as seen from from, measured from North (+lat) through East (+lon). Inputs are (lon, lat) in degrees.