pub fn check_max_angle( line: &[P], anchor: &Anchor, label_length: f64, window_size: f64, max_angle: f64, ) -> bool