dime  0.9.1
Portable DXF file library
Loading...
Searching...
No Matches
dimeVec3f Class Reference

The dimeVec3f class is for containing and operating on a 3D vector / coordinate. More...

#include <dime/util/Linear.h>

Public Member Functions

 dimeVec3f (const dimeVec3f &v)
 
 dimeVec3f (const dxfdouble *xyz)
 
 dimeVec3f (const dxfdouble X, const dxfdouble Y, const dxfdouble Z)
 
dxfdouble angle (const dimeVec3f &v2)
 
dimeVec3f cross (const dimeVec3f &v) const
 
dxfdouble dot (const dimeVec3f &v) const
 
bool equals (const dimeVec3f &v)
 
bool equals (const dimeVec3f &v, dxfdouble tol)
 
const dxfdouble * getValue () const
 
void getValue (dxfdouble &_x, dxfdouble &_y, dxfdouble &_z) const
 
dxfdouble length () const
 
dimeVec3f multComponents (const dimeVec3f &v) const
 
void multMatrix (dxfdouble *matrix)
 
void negate (void)
 
void normalize ()
 
 operator dxfdouble * ()
 
dimeVec3foperator*= (const dxfdouble s)
 
dimeVec3foperator+= (const dimeVec3f &v)
 
dimeVec3f operator- () const
 
dimeVec3foperator-= (const dimeVec3f &v)
 
dimeVec3foperator/= (const dxfdouble s)
 
dimeVec3foperator= (const dimeVec3f &v)
 
dxfdouble & operator[] (const int i)
 
dxfdouble operator[] (const int i) const
 
void print () const
 
void print (const char *s) const
 
void setValue (const dxfdouble *v)
 
void setValue (const dxfdouble X, const dxfdouble Y, const dxfdouble Z)
 
dxfdouble sqrLength (void) const
 

Public Attributes

dxfdouble x
 
dxfdouble y
 
dxfdouble z
 

Detailed Description

The dimeVec3f class is for containing and operating on a 3D vector / coordinate.


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