Open CASCADE Technology
6.5.4
|
#include <gp_QuaternionNLerp.hxx>
Public Member Functions | |
gp_QuaternionNLerp () | |
gp_QuaternionNLerp (const gp_Quaternion &theQStart, const gp_Quaternion &theQEnd) | |
void | Init (const gp_Quaternion &theQStart, const gp_Quaternion &theQEnd) |
void | InitFromUnit (const gp_Quaternion &theQStart, const gp_Quaternion &theQEnd) |
void | Interpolate (Standard_Real theT, gp_Quaternion &theResultQ) const |
Set interpolated quaternion for theT position (from 0.0 to 1.0) | |
Static Public Member Functions | |
static gp_Quaternion | Interpolate (const gp_Quaternion &theQStart, const gp_Quaternion &theQEnd, Standard_Real theT) |
Class perform linear interpolation (approximate rotation interpolation), result quaternion nonunit, its length lay between. sqrt(2)/2 and 1.0
gp_QuaternionNLerp::gp_QuaternionNLerp | ( | ) | [inline] |
gp_QuaternionNLerp::gp_QuaternionNLerp | ( | const gp_Quaternion & | theQStart, |
const gp_Quaternion & | theQEnd | ||
) | [inline] |
void gp_QuaternionNLerp::Init | ( | const gp_Quaternion & | theQStart, |
const gp_Quaternion & | theQEnd | ||
) | [inline] |
void gp_QuaternionNLerp::InitFromUnit | ( | const gp_Quaternion & | theQStart, |
const gp_Quaternion & | theQEnd | ||
) | [inline] |
void gp_QuaternionNLerp::Interpolate | ( | Standard_Real | theT, |
gp_Quaternion & | theResultQ | ||
) | const [inline] |
static gp_Quaternion gp_QuaternionNLerp::Interpolate | ( | const gp_Quaternion & | theQStart, |
const gp_Quaternion & | theQEnd, | ||
Standard_Real | theT | ||
) | [inline, static] |