Skip to main content

to_bezier

Function to_bezier 

Source
pub fn to_bezier(
    model: &mut Model,
    shape: &Shape,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

shape with every curve and surface a single Bézier span: converted to splines, cut at every knot, and each piece’s geometry restated as the span it covers, parameters kept.

What shape shares with other shapes is copied before it is worked on (ogeom_algo::on_own_nodes), which leaves them as they are.

§Errors

As ogeom_algo::to_nurbs and divide_by_continuity.