pub fn rectangle(sw: &GeoCoord, ne: &GeoCoord) -> Vec<GeoCoord>Expand description
Generate an axis-aligned geographic rectangle as a closed polygon ring.
§Arguments
sw– southwest corner (min lat, min lon).ne– northeast corner (max lat, max lon).
Returns a CCW ring: SW → SE → NE → NW → SW.