pub fn self_union(
model: &mut Model,
solid: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
The union of the material solid encloses, where its boundary passes
through itself: the regions it encloses twice made one, and its faces
cut where they cross and trimmed back to the union’s boundary.
A solid whose boundary does not pass through itself (what
self_crossings finds) comes back as it
is, with an empty history. A region the boundary winds round negatively,
enclosed inside out, is not material and is left out.
§Errors
OgeomError::Construction if
solid is not a solid;
OgeomError::NotDone where a face
passes through itself or through a face it shares an edge or a corner
with (only faces apart are split against each other), where a piece’s
two sides cannot be read, or where the kept pieces do not close or the
union still crosses itself; and as the boolean’s operations.