Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
quatd Class Reference

Public Member Functions

 quatd (const double angle, vec3d v)
 
 quatd (vec3d v1, vec3d v2)
 
 quatd (const double qx, const double qy, const double qz, const double qw=1.0)
 
bool operator!= (const quatd &q)
 
quatd operator- ()
 
quatd operator+ (const quatd &q) const
 
quatd operator- (const quatd &q) const
 
quatdoperator+= (const quatd &q)
 
quatdoperator-= (const quatd &q)
 
quatd operator* (const quatd &q) const
 
quatdoperator*= (const quatd &q)
 
quatd operator* (const double a) const
 
quatd operator/ (const double a) const
 
quatdoperator/= (const double a)
 
quatd Conjugate () const
 
double Norm () const
 
void MakeUnit ()
 
quatd Inverse () const
 
double DotProduct (const quatd &q) const
 
vec3d GetVector () const
 
double GetAngle () const
 
void RotateVector (vec3d &v) const
 
vec3d operator* (const vec3d &r)
 
mat3d operator* (mat3d m)
 
void RotateVectorP (double *v, double *r) const
 

Static Public Member Functions

static double dot (quatd &q1, quatd &q2)
 
static quatd lerp (quatd &q1, quatd &q2, double t)
 
static quatd slerp (quatd &q1, quatd &q2, double t)
 

Public Attributes

double x
 
double y
 
double z
 
double w
 

Detailed Description

Definition at line 250 of file math3d.h.


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