hydrogen 1.2.3
H2Core::Interpolation Namespace Reference

Enumerations

enum class  InterpolateMode {
  Linear = 0 , Cosine = 1 , Third = 2 , Cubic = 3 ,
  Hermite = 4
}
 

Functions

static float cosine_Interpolate (float y1, float y2, 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)
 
static float linear_Interpolate (float y1, float y2, float mu)
 
static const QString ModeToQString (InterpolateMode mode)
 
static float third_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 

Definition at line 33 of file Interpolation.h.

Function Documentation

◆ cosine_Interpolate()

static float cosine_Interpolate ( float y1,
float y2,
double mu )
inlinestatic

Definition at line 67 of file Interpolation.h.

◆ cubic_Interpolate()

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

Definition at line 97 of file Interpolation.h.

◆ hermite_Interpolate()

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

Definition at line 118 of file Interpolation.h.

◆ linear_Interpolate()

static float linear_Interpolate ( float y1,
float y2,
float mu )
inlinestatic

Definition at line 57 of file Interpolation.h.

◆ ModeToQString()

static const QString ModeToQString ( InterpolateMode mode)
static

Definition at line 39 of file Interpolation.h.

◆ third_Interpolate()

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

Definition at line 80 of file Interpolation.h.