Closed msteinbeck closed 1 year ago
This paper shows an approach for adaptive forward differencing of splines with arbitrary order:
sample can now be used to subdivide a spline into a sequence of points which, in turn, form a sequence a lines. An example is given at splines_as_lines.py.
Unlike sample
, a toLines
must respect discontinuity. Instead of passing the number of desired points (like in sample
), it might be easier to pass the maximum distance between two knots.
http://www.antigrain.com/research/adaptive_bezier/index.html