Loading...
Searching...
No Matches
TsExtrapolation Class Reference

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
 

Detailed Description

Extrapolation parameters for the ends of a spline beyond the knots.

Definition at line 222 of file types.h.

Constructor & Destructor Documentation

◆ TsExtrapolation()

TS_API TsExtrapolation ( TsExtrapMode mode,
double slope )

Construct a TsExtrapolation with the given mode and slope.

Deprecated
Deprecated in favor of setting the slope field directly

Member Function Documentation

◆ IsLooping()

TS_API bool IsLooping ( ) const

Returns whether our mode is one of the looping extrapolation modes.

Member Data Documentation

◆ loopBoundaryTime

std::optional<double> loopBoundaryTime

Definition at line 251 of file types.h.

◆ mode

TsExtrapMode mode = TsExtrapHeld

Definition at line 225 of file types.h.

◆ slope

double slope = 0.0

Definition at line 229 of file types.h.


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