Last change
on this file since 71ac835 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
658 bytes
|
Rev | Line | |
---|
[aa639ea] | 1 | /** \file transformation.h: a few functions to do the transformation */ |
---|
| 2 | |
---|
| 3 | #ifndef TRANSFORMATION_H |
---|
| 4 | //Transform operation on a Point3D |
---|
| 5 | //Not in use, similar transformation are implemented as Point3D class functions |
---|
| 6 | |
---|
| 7 | #define TRANSFORMATION_H |
---|
| 8 | |
---|
| 9 | #include <vector> |
---|
| 10 | #include "Point3D.h" |
---|
| 11 | |
---|
| 12 | void RotateX(const double ang_x,Point3D &); |
---|
| 13 | void RotateY(const double ang_y,Point3D &); |
---|
| 14 | void RotateZ(const double ang_z,Point3D &); |
---|
| 15 | void Translate(const double trans_x, const double trans_y, const double trans_z, Point3D &); |
---|
| 16 | |
---|
| 17 | //rotate a point by given a rotation 3X3 matrix |
---|
| 18 | //vec[0]=R00, vec[1]=R01.......vec[8]=R22 |
---|
| 19 | void RotateMatrix(const vector<double> &, Point3D &); |
---|
| 20 | |
---|
| 21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.