resolve_2d

Function resolve_2d 

Source
pub fn resolve_2d(rings: &[Ring2D]) -> ContourSet
Expand description

Resolve a ring set into disjoint shapes without changing the area it covers (a self-union). Canonicalises a hand-built contour set — or the flattened rings of a MeshOutline — into grouped outer/hole shapes.