pub fn extrude_profile(
rings: &Rings,
direction: DVec3,
depth: f64,
tolerance: Tolerance,
) -> Result<TriMesh, GeomError>Expand description
Triangulate rings and extrude them in one step.
The loop layout must match triangulate’s vertex order exactly, so the
two are derived from the same Rings value here rather than by a caller
reconstructing the ranges.
A direction within tolerance of the profile plane (|o.z| <= tolerance for the offset o) is refused as "extrusion direction in the profile plane", exactly as extrude_profile_exact refuses it.