pub fn unit_xy(x: f64, y: f64) -> Option<[f64; 2]>Expand description
(x, y) scaled to unit length, or None when its length is zero or not
finite. The normalisation model_true_north applies to a TrueNorth,
shared with callers that turn another XY direction (a map conversion’s
grid north) into a north.