You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement bounding_box() method for the generic Bezier and BSpline curve types.
Problem
Computing the bounding box requires finding the extrema of a polynomial/curve of degree N, which translates to finding roots of a spline curve of degree N-1. For higher order curves (d > 4) this requires implementing the newton-raphson root finding algorithm.
This may be difficult to do generically for both curve types in a const generic setting because some instability around the Fn-family traits.
It is already implemented with tinyvec::ArrayVec for the specialized types QuadraticBezier and Cubic Bezier where N is fixed.
The text was updated successfully, but these errors were encountered:
Goal
Implement bounding_box() method for the generic Bezier and BSpline curve types.
Problem
Computing the bounding box requires finding the extrema of a polynomial/curve of degree N, which translates to finding roots of a spline curve of degree N-1. For higher order curves (d > 4) this requires implementing the newton-raphson root finding algorithm.
This may be difficult to do generically for both curve types in a const generic setting because some instability around the Fn-family traits.
It is already implemented with tinyvec::ArrayVec for the specialized types QuadraticBezier and Cubic Bezier where N is fixed.
The text was updated successfully, but these errors were encountered: