DUNE: Uniform Navigational Environment  2017.01.0
DUNE::Math::LinIntParam< Type > Struct Template Reference

Detailed Description

template<typename Type>
struct DUNE::Math::LinIntParam< Type >

Interpolates linearly between (t0,x0) and (t1,x1) for value t will also work if the point is outside of this interval.

Parameters
preference to object of struct type LinIntParam (below)
Returns
corresponding interpolated point for x

Public Member Functions

 LinIntParam (Type val_x0, Type val_x1, Type val_t0, Type val_t1, Type val_t)
 

Public Attributes

Type x0
 
Type x1
 
Type t0
 
Type t1
 
Type t
 

Constructor & Destructor Documentation

template<typename Type>
DUNE::Math::LinIntParam< Type >::LinIntParam ( Type  val_x0,
Type  val_x1,
Type  val_t0,
Type  val_t1,
Type  val_t 
)
inline

Member Data Documentation

template<typename Type>
Type DUNE::Math::LinIntParam< Type >::t
template<typename Type>
Type DUNE::Math::LinIntParam< Type >::t0
template<typename Type>
Type DUNE::Math::LinIntParam< Type >::t1
template<typename Type>
Type DUNE::Math::LinIntParam< Type >::x0
template<typename Type>
Type DUNE::Math::LinIntParam< Type >::x1
Collaboration diagram for DUNE::Math::LinIntParam< Type >:
Collaboration graph