Skip to main content

join_curve_chain

Function join_curve_chain 

Source
pub fn join_curve_chain(pieces: &[NurbsCurve]) -> Result<NurbsCurve, String>
Expand description

The chain pieces, curves that follow one another head to tail, as one curve: exactly the same points, each piece on a stretch of the parameter as long as the piece itself, so the joined curve runs at an even pace from piece to piece. Its joints are knots of full multiplicity (the curve is as smooth there as the chain is).

Refuses an empty chain and pieces that do not meet end to start.