Function close_narrow_concavities

Source
pub fn close_narrow_concavities(
    orig_shape: &SPolygon,
    mode: ShapeModifyMode,
    max_distance_ratio: f32,
) -> SPolygon
Expand description

Closes narrow concavities in a SPolygon by replacing them with a straight edge, eliminating the vertices in between.