Expand description
Centripetal Catmull–Rom → cubic Bézier SVG d.
Shared by region hulls (closed) and scheme arrows (open). Lives outside
doc so crate::arrows can paint shafts without a module cycle.
Functions§
- centripetal_
catmull_ rom_ closed_ path - Centripetal Catmull–Rom (α = 0.5) closed loop as cubic Bézier SVG
d. - centripetal_
catmull_ rom_ open_ path - Open centripetal Catmull–Rom (α = 0.5) as cubic Bézier SVG
d. - open_
catmull_ end_ frame - Last interpolating vertex and unit last-chord of the open controls.
- open_
catmull_ with_ arrow - Shaft + arrow from the same controls: tip is the last vertex, base is that
point pulled back along the last chord. The shaft interpolates
base. - sample_
open_ catmull - Dense polyline along the open Catmull–Rom (same cubics as the SVG shaft).