Integrates the speed |C'(u)| with 8-point Gauss-Legendre quadrature, one
knot span at a time, doubling the number of sub-intervals until two
successive estimates agree. This replaces a 1000-sample chord sum, which had
to evaluate every basis function of the curve for each sample.
Calculate the arc length of a NURBS curve.
Integrates the speed
|C'(u)|with 8-point Gauss-Legendre quadrature, one knot span at a time, doubling the number of sub-intervals until two successive estimates agree. This replaces a 1000-sample chord sum, which had to evaluate every basis function of the curve for each sample.