source: sasview/realSpaceModeling/geoshapespy/libgeoshapespy/transformation.h @ 8742751

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 8742751 was f2d6445, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

moving realSpaceModeling to trunk

  • Property mode set to 100644
File size: 658 bytes
RevLine 
[f2d6445]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
12void RotateX(const double ang_x,Point3D &);
13void RotateY(const double ang_y,Point3D &);
14void RotateZ(const double ang_z,Point3D &);
15void 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
19void RotateMatrix(const vector<double> &, Point3D &);
20
21#endif
Note: See TracBrowser for help on using the repository browser.