Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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)

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


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]
static gp_Quaternion gp_QuaternionNLerp::Interpolate ( const gp_Quaternion theQStart,
const gp_Quaternion theQEnd,
Standard_Real  theT 
) [inline, static]

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