aimstil  5.0.5
til::LinearInterpolation< T > Class Template Reference

Linear interpolation between two values. More...

#include <til/TrilinearInterpolation.h>

Inheritance diagram for til::LinearInterpolation< T >:
Collaboration diagram for til::LinearInterpolation< T >:

Public Types

typedef LinearInterpolation Self
 

Static Public Member Functions

static T compute (T f1, T f2, T x)
 Returns the linear interpolated value of two numbers. More...
 

Detailed Description

template<typename T>
class til::LinearInterpolation< T >

Linear interpolation between two values.

Definition at line 14 of file TrilinearInterpolation.h.

Member Typedef Documentation

◆ Self

template<typename T >
typedef LinearInterpolation til::LinearInterpolation< T >::Self

Definition at line 19 of file TrilinearInterpolation.h.

Member Function Documentation

◆ compute()

template<typename T >
static T til::LinearInterpolation< T >::compute ( f1,
f2,
x 
)
inlinestatic

Returns the linear interpolated value of two numbers.

Parameters
f1Value assumed to lie at position 0
f2Value assumed to lie at position 1
xThe interpolated value at position x

Definition at line 29 of file TrilinearInterpolation.h.


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