Function fixed_reference_sweep

Source
pub fn fixed_reference_sweep(
    rings: &Rings,
    path: &[DVec3],
    reference: DVec3,
) -> Result<TriMesh, GeomError>
Expand description

Sweep a profile along a sampled directrix with a fixed reference.

The reference direction is held constant, so the profile does not twist with the path’s torsion. That is what distinguishes this from a Frenet sweep, whose frame rotates with the curve’s binormal.