![]() |
|
Extrapolation parameters for the ends of a spline beyond the knots. More...
#include <types.h>
Public Member Functions | |
| TS_API | TsExtrapolation (TsExtrapMode mode) |
| TS_API | TsExtrapolation (TsExtrapMode mode, double slope) |
| Construct a TsExtrapolation with the given mode and slope. | |
| TS_API bool | operator== (const TsExtrapolation &other) const |
| TS_API bool | operator!= (const TsExtrapolation &other) const |
| TS_API bool | IsLooping () const |
| Returns whether our mode is one of the looping extrapolation modes. | |
Public Attributes | |
| TsExtrapMode | mode = TsExtrapHeld |
| double | slope = 0.0 |
| std::optional< double > | loopBoundaryTime |
Extrapolation parameters for the ends of a spline beyond the knots.
| TS_API TsExtrapolation | ( | TsExtrapMode | mode, |
| double | slope ) |
Construct a TsExtrapolation with the given mode and slope.
| TS_API bool IsLooping | ( | ) | const |
Returns whether our mode is one of the looping extrapolation modes.