Class for specifying a particular 3D cartesian axes system, and converting to and from it.  
 More...
|  | 
| constexpr | Axes3D ()=default | 
|  | Default constructor, no initialization of data. 
 | 
|  | 
| constexpr | Axes3D (const Axes3D &a)=default | 
|  | Copy constructor. 
 | 
|  | 
| constexpr Axes3D & | operator= (const Axes3D &a)=default | 
|  | 
| BASE_EXPORT | Axes3D (const Axes2D &a) | 
|  | Explicit construction from Axes2D. e3() = (0,0,1). 
 | 
|  | 
| BASE_EXPORT | Axes3D (const DVect3 &vx, const DVect3 &vy, const DVect3 &vz, bool normalize, const DVect3 &c=DVect3(0)) | 
|  | 
| BASE_EXPORT | Axes3D (double dip, double ddir, double roll=0.0, const DVect3 &c=DVect3(0)) | 
|  | 
| BASE_EXPORT | Axes3D (const Orientation3 &o, double roll=0.0, const DVect3 &c=DVect3(0)) | 
|  | 
| BASE_EXPORT bool | operator== (const Axes3D &a) const | 
|  | Comparison operator. 
 | 
|  | 
| BASE_EXPORT bool | operator!= (const Axes3D &a) const | 
|  | Comparison operator. 
 | 
|  | 
| BASE_EXPORT void | setOrigin (const DVect3 &c) | 
|  | Change the origin of the axes sytem. 
 | 
|  | 
| BASE_EXPORT void | setOrientation (double dip, double ddir, double roll) | 
|  | 
| BASE_EXPORT void | setOrientation (const Orientation3 &o, double roll) | 
|  | 
| BASE_EXPORT const DVect3 & | c () const | 
|  | The origin of the axes system. 
 | 
|  | 
| BASE_EXPORT const DVect3 & | e1 () const | 
|  | The x unit direction. 
 | 
|  | 
| BASE_EXPORT const DVect3 & | e2 () const | 
|  | The y unit direction. 
 | 
|  | 
| BASE_EXPORT const DVect3 & | e3 () const | 
|  | The z unit direction. 
 | 
|  | 
| BASE_EXPORT DVect3 & | rc () | 
|  | Reference access to the origin of the axes system. 
 | 
|  | 
| BASE_EXPORT DVect3 & | re1 () | 
|  | 
| BASE_EXPORT DVect3 & | re2 () | 
|  | 
| BASE_EXPORT DVect3 & | re3 () | 
|  | 
| BASE_EXPORT DVect3 & | rdof (uint32 dof) | 
|  | 
| BASE_EXPORT DVect3 | toLocal (const DVect3 &v) const | 
|  | Converts a vector from "global" (cartesian) system to this system. 
 | 
|  | 
| BASE_EXPORT DVect3 | toGlobal (const DVect3 &v) const | 
|  | Converts a vector from this system to a "global" system. 
 | 
|  | 
| BASE_EXPORT DVect3 | getDir (uint32 dof) const | 
|  | Return e1, e2, or e3 based on degree-of-freedom (0-2) 
 | 
|  | 
| BASE_EXPORT void | setDir (uint32 dof, const DVect3 &v) | 
|  | 
| BASE_EXPORT void | setDirAuto (uint32 dof, uint32 keepDOF=0xFFFFFFFF) | 
|  | 
| BASE_EXPORT Orientation3 | getOrientation (uint32 dof=0) const | 
|  | Returns equivalent orientation of e1, e2, or e2 based on degree-of-freedom (0-2) 
 | 
|  | 
| BASE_EXPORT double | getRoll () const | 
|  | 
|  | 
| static BASE_EXPORT Axes3D | make (const DVect3 &z, bool normalize, double roll=0.0) | 
|  | 
| static BASE_EXPORT Axes3D | makeX (const DVect3 &x, bool normalize, double roll=0.0) | 
|  | 
| static BASE_EXPORT Axes3D | make (const Orientation3 &o, double roll=0.0) | 
|  | 
| static BASE_EXPORT Axes3D | makeX (const Orientation3 &o, double roll=0.0) | 
|  | 
| static BASE_EXPORT Axes3D | make (const DVect3 &z, const DVect3 &x, bool normalize) | 
|  | 
| static BASE_EXPORT Axes3D | make (const DVect3 &dir, uint32 dof, bool normalize) | 
|  | 
| static BASE_EXPORT Axes3D | makeDef () | 
|  | 
| static BASE_EXPORT void | setTolerance (double d) | 
|  | 
| static BASE_EXPORT double | getTolerance () | 
|  | Returns the Tolerance used for comparison and detecting "near enough to zero". 
 | 
|  | 
| static BASE_EXPORT Axes3D | global () | 
|  | 
Class for specifying a particular 3D cartesian axes system, and converting to and from it. 
This class provides a cartesian coordinate system (3 orthogonal axes plus center), and supports mappings between local and global space. This class is a 3D version of Axes, and a 2D one exists as well. To the extent possible, the API has been made the same for both.