pub fn hexagon_fit_max_dev(xy: &[(f64, f64)]) -> f64
Regular-hexagon fit error for a closed ring of coordinates (max vertex distance to the best-fit regular hexagon through Kabsch-like centering).