pub fn sweep_solid_clipped(
tool: &SolidTool,
motion: &SolidMotion,
clip: &SweepClip,
) -> Result<BrepSolid, KernelRefusal>Expand description
The sweep of tool along motion, where it lies in clip (the caller
cuts a workpiece inside that region). A TURN about the clip’s own axis
whose two end positions stay outside the clip’s wedge covers the wedge
wholly with the tool’s shadow in (ρ, z): that shadow, turned over the wedge,
is the sweep there (a convex polyhedron’s shadow is bounded by conic arcs
from its edges and straight lines from its faces, so every surface is
exact); a turn about that axis whose ends reach the wedge is refused. A
screw or turn about the region’s axis whose tool reaches far past the
region’s radius sweeps only the tool’s part that can reach it (see
trim_to_clip). Any other motion gets the whole sweep (sweep_solid).