Skip to main content

simplify_polygon

Function simplify_polygon 

Source
pub fn simplify_polygon(poly: &Polygon, tolerance: i64) -> Polygon
Expand description

Simplifies a single polygon, preserving its topology.

Equivalent to simplify_polygons on a one-element set; see there for the guarantees.