versor  3.0
C++11 library for Geometric algebra
Static Public Member Functions | List of all members
vsr::Interp Class Reference

Static Public Member Functions

template<typename T >
static T cubic (T _a, T _b, T _c, T _d, double t)
 t from 0 to 1
 
template<typename T >
static T quadric (T _a, T _b, T _c, double t)
 t from -1 to 1
 
template<typename T >
static T linear (T _a, T _b, double t)
 t from 0 to 1
 
template<typename T >
static T sqlinear (T _a, T _b, double t)
 t from 0 to 1
 
template<typename T >
static T linear (T *s, int num, double t)
 arbitrary number of points to pass through
 
template<typename T >
static T quadric (T *s, int num, double t, bool closed=0)
 arbitrary number of points to pass through
 
template<typename T >
static T cubic (T *s, int num, double t)
 arbitrary number of points to pass through
 
template<typename T >
static T surface (T *s, double u, double v)
 bilinear eulerian surface interpolation assumes four points More...
 
template<typename T >
static T surface (T a, T b, T c, T d, double u, double v)
 bilinear eulerian surface interpolation assumes four points More...
 
template<typename T >
static T sqsurface (T a, T b, T c, T d, double u, double v)
 
template<typename T >
static T volume (T a, T b, T c, T d, T e, T f, T g, T h, double u, double v, double w)
 trilinear eulerian volume integration
 
template<typename T >
static T volume (T *s, double x, double y, double z)
 trilinear eulerian volume interpolation assumes eight points
 

Member Function Documentation

template<typename T >
T vsr::Interp::surface ( T *  s,
double  u,
double  v 
)
inlinestatic

bilinear eulerian surface interpolation assumes four points

Parameters
arrayin the order: bl, br, tr, tl
template<typename T >
T vsr::Interp::surface ( a,
b,
c,
d,
double  u,
double  v 
)
inlinestatic

bilinear eulerian surface interpolation assumes four points

Parameters
bottom-left
bottom-right
top-right
top-left

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