jagua_rs::util

Module polygon_simplification

Source
Expand description

Functions to simplify polygons in preprocessing

Enums§

Functions§

  • Simplifies a shape (removing vertices) strictly inflating or deflating based on the mode. The number of edges is reduced by one at a time, until either the change in area would exceed the max_area_delta or the number of edges would become less than 4.