#include <ivfmath/IvfVec3d.h>
Inheritance diagram for CIvfVec3d:
Public Member Functions | |
CIvfVec3d () | |
CIvfVec3d (double vx, double vy, double vz) | |
CIvfVec3d (CIvfVec3d &v) | |
virtual | ~CIvfVec3d () |
IvfClassInfo ("CIvfVec3d", CIvfMathBase) | |
void | rotate (CIvfVec3d &axis, double angle) |
void | normalize () |
double | length () |
void | negate () |
void | print (ostream &out) |
void | setFromPoints (CIvfVec3d &pos, CIvfVec3d &target) |
void | add (double dx, double dy, double dz) |
void | getEulerAngles (double &pitch, double &heading) |
void | setComponents (double vx, double vy, double vz) |
void | getComponents (double &vx, double &vy, double &vz) |
void | setComponents (const double *v) |
void | getComponents (double *v) |
double * | getComponents () |
void | setZ (double value) |
void | setY (double value) |
void | setX (double value) |
CIvfVec3d & | operator+= (CIvfVec3d &a) |
CIvfVec3d & | operator-= (CIvfVec3d &a) |
CIvfVec3d & | operator= (CIvfVec3d &a) |
double | operator[] (const int idx) |
bool | operator== (CIvfVec3d &a) |
bool | operator!= (CIvfVec3d &a) |
CIvfVec3d implements a 3d vector and associated operations and arithmetic.
lighting.cpp, and math.cpp.
Definition at line 41 of file IvfVec3d.h.
|
CIvfVec3d constructor |
|
CIvfVec3d constructor |
|
CIvfVec3d copy constructor |
|
CIvfVec3d destructor |
|
Add components to vector (obsolete) |
|
Get pointer to vector components |
|
Get vector components |
|
Get vector components
|
|
Calculate euler angles |
|
Return vector length |
|
Negate vector |
|
Normalize vector |
|
Print vector to output stream
|
|
Rotate vector angle about axis
|
|
Set vector components |
|
Set vector components |
|
Set vector from two points |
|
Set x component |
|
Set y component |
|
Set z component |