pub fn composite_regions(
members: &[Profile],
tolerance: Tolerance,
) -> Result<Vec<CompositeRegion>, GeomError>Expand description
Union a composite’s members exactly and return every connected piece.
Each member lowers to an exact contour (rectangles of every kind,
circles, sections, contours with arcs and holes, derived profiles), and
the union is taken over one ArcArrangement of all their rings: a
point belongs to the section when some member’s outer ring contains it
and none of that member’s holes does. Arcs stay arcs; nothing is sampled.
§Errors
A member that does not lower to a contour (an ellipse, a nested composite), an invalid ring, or members that union to nothing.