pub fn convex_decompose_with(
mesh: &TriMesh,
strategy: Strategy,
tolerance: Tolerance,
splitter: &Splitter<'_>,
) -> Result<Decomposition, DecomposeError>Expand description
Decompose a solid, choosing how parts are cut.
Identical to convex_decompose except that the caller supplies the
Splitter. Passing a boolean provider is how an
algorithms crate reaches a providers one: through the mesh-boolean
contract, which both layers may depend on.
ยงErrors
As convex_decompose, plus DecomposeError::SplitFailed when the
supplied splitter cannot cut a part.