|
geomc 1.0
A c++ linear algebra template library
|
Base class for cubic splines. More...
#include <geomc/shape/CubicSpline.h>
Public Types | |
| using | elem_t |
| The coordinate type of this object. | |
| using | point_t |
| The type of a point in this object's space. | |
Public Member Functions | |
| constexpr Vec< T, N > | acceleration (T s) const |
| Compute the second derivative (acceleration) of the spline at a given parameter value. | |
| constexpr Rect< T, N > | bounds () const |
| Compute the bounding box of the spline. | |
| constexpr | operator PolynomialSpline< T, N > () const |
| Convert this spline to its coefficient representation. | |
|
template<CubicSplineObject< T, N > Spline> requires (not std::same_as<Spline, PolynomialSpline<T,N>>) | |
| constexpr | operator Spline () const |
| Convert to another type of cubic spline. | |
| constexpr Vec< T, N > | operator() (T s) const |
| Evaluate the spline at a given parameter value. | |
| constexpr Vec< T, N > | velocity (T s) const |
| Compute the derivative (velocity) of the spline at a given parameter value. | |
Static Public Attributes | |
| static constexpr index_t | N |
| The dimension of this object. | |
Base class for cubic splines.
|
inherited |
The type of a point in this object's space.
An N-vector of T if N > 1, otherwise a T.