hydrogen 1.1.1
H2Core::Interpolation Namespace Reference

Enumerations

enum class  InterpolateMode {
  Linear , Cosine , Third , Cubic ,
  Hermite
}
 

Functions

static float linear_Interpolate (float y1, float y2, float mu)
 
static float cosine_Interpolate (float y1, float y2, double mu)
 
static float third_Interpolate (float y0, float y1, float y2, float y3, double mu)
 
static float cubic_Interpolate (float y0, float y1, float y2, float y3, double mu)
 
static float hermite_Interpolate (float y0, float y1, float y2, float y3, double mu)
 

Enumeration Type Documentation

◆ InterpolateMode

enum class InterpolateMode
strong
Enumerator
Linear 
Cosine 
Third 
Cubic 
Hermite 

Function Documentation

◆ cosine_Interpolate()

static float H2Core::Interpolation::cosine_Interpolate ( float  y1,
float  y2,
double  mu 
)
inlinestatic

◆ cubic_Interpolate()

static float H2Core::Interpolation::cubic_Interpolate ( float  y0,
float  y1,
float  y2,
float  y3,
double  mu 
)
inlinestatic

◆ hermite_Interpolate()

static float H2Core::Interpolation::hermite_Interpolate ( float  y0,
float  y1,
float  y2,
float  y3,
double  mu 
)
inlinestatic

◆ linear_Interpolate()

static float H2Core::Interpolation::linear_Interpolate ( float  y1,
float  y2,
float  mu 
)
inlinestatic

◆ third_Interpolate()

static float H2Core::Interpolation::third_Interpolate ( float  y0,
float  y1,
float  y2,
float  y3,
double  mu 
)
inlinestatic