pub fn circle(
center: &GeoCoord,
radius_m: f64,
segments: usize,
) -> Vec<GeoCoord>Expand description
Generate a circle as a closed polygon ring.
ยงArguments
centerโ centre of the circle.radius_mโ radius in meters.segmentsโ number of line segments (more = smoother). Clamped to a minimum of 4.
The returned ring is closed (first == last) and counter-clockwise.