Open CASCADE Technology  6.9.0
Public Member Functions | Static Public Member Functions

gp_QuaternionNLerp Class Reference

#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) More...
 

Static Public Member Functions

static gp_Quaternion Interpolate (const gp_Quaternion &theQStart, const gp_Quaternion &theQEnd, Standard_Real theT)
 

Detailed Description

Class perform linear interpolation (approximate rotation interpolation), result quaternion nonunit, its length lay between. sqrt(2)/2 and 1.0

Constructor & Destructor Documentation

gp_QuaternionNLerp::gp_QuaternionNLerp ( )
inline
gp_QuaternionNLerp::gp_QuaternionNLerp ( const gp_Quaternion theQStart,
const gp_Quaternion theQEnd 
)
inline

Member Function Documentation

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

Set interpolated quaternion for theT position (from 0.0 to 1.0)

static gp_Quaternion gp_QuaternionNLerp::Interpolate ( const gp_Quaternion theQStart,
const gp_Quaternion theQEnd,
Standard_Real  theT 
)
inlinestatic

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