Function surface_curve_sweep

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

Sweep a profile along a directrix lying on a reference surface.

The surface normal at each sample supplies the up direction, so the profile stays oriented to the surface rather than to a global axis. Callers pass the sampled normals because evaluating the surface belongs to the surface provider, not to this sweep.