pub fn sector(
center: &GeoCoord,
radius_m: f64,
start_bearing: f64,
end_bearing: f64,
segments: usize,
) -> Vec<GeoCoord>Expand description
Generate a sector (pie slice) as a closed polygon ring.
The sector starts at the centre, sweeps from start_bearing to
end_bearing along the arc, and closes back to the centre.