Function minkowski_sum_with

Source
pub fn minkowski_sum_with(
    subject: &TriMesh,
    tool: &TriMesh,
    tolerance: Tolerance,
    provider: &dyn MeshBoolean,
) -> Result<MinkowskiOutcome, MinkowskiError>
Expand description

Minkowski sum of two planar-faced solids, convex or not.

Non-convex operands are decomposed into convex parts; every pair is summed and the results unioned through provider.

ยงErrors

As minkowski_sum for malformed operands, plus decomposition, hull, boolean, and budget failures.