OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::math::bezier_t< Type, Parameter, N > Struct Template Reference

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.
 

Detailed Description

template<typename Type, typename Parameter, int N>
struct eagine::math::bezier_t< Type, Parameter, N >

Helper class for bezier curve segment calculations.

Template Parameters
Typethe interpolated type.
Parameterthe curve interpolation parameter type.
Nthe curve order.
See also
bezier_curves

The documentation for this struct was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).