Helper class for bezier curve segment calculations. More...
#include <eagine/math/functions.hpp>
Public Member Functions | |
| template<typename... Points, typename = std::enable_if_t<sizeof...(Points) == N>> | |
| constexpr auto | operator() (Parameter t, Points &&... p) const noexcept |
Interpolate from control points in pack p at position t. | |
| template<typename P , typename S > | |
| auto | operator() (Parameter t, memory::basic_span< const Type, P, S > p) const noexcept |
Interpolate from control points in span p at position t. | |
Helper class for bezier curve segment calculations.
| Type | the interpolated type. |
| Parameter | the curve interpolation parameter type. |
| N | the curve order. |