Skip to main content

close_ring

Function close_ring 

Source
pub fn close_ring(coords: &[Coordinate]) -> Result<Vec<Coordinate>>
Expand description

Closes an unclosed ring by adding the first point at the end