Changeset 565 in Sophya for trunk/SophyaLib/Samba/vector3d.h
- Timestamp:
- Nov 10, 1999, 3:01:46 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/vector3d.h
r518 r565 18 18 pour les rotations (angles d'Euler) ma source est 19 19 "Classical Mechanics" 2nd edition, H. Goldstein, Addison Wesley 20 */ 21 /*! 3-D geometry. 22 23 All computations are made with angles in radians and with spherical 24 coordinates theta, phi. 25 26 Concerning Euler's angles, the reference is : 27 28 "Classical Mechanics" 2nd edition, H. Goldstein, Addison Wesley 20 29 */ 21 30 … … 51 60 52 61 // ecart angulaire entre 2 vecteurs dans [0,Pi] 62 /*! angular gap between 2 vectors in [0,Pi] */ 53 63 virtual double SepAngle(const Vector3d&) const; 54 64 55 65 // produit vectoriel 66 /*! vector product */ 56 67 virtual Vector3d Vect(const Vector3d&) const; 57 68 58 69 // vecteur perpendiculaire de meme phi 70 /*! perpendicular vector, with equal phi */ 59 71 virtual Vector3d VperpPhi() const; 60 72 61 73 // vecteur perpendiculaire de meme theta 74 /*! perpendicular vector with equal theta */ 62 75 virtual Vector3d VperpTheta() const; 63 76 … … 65 78 virtual Vector3d EPhi() const; 66 79 80 // rotations d'Euler 81 /*! Euler's rotations */ 67 82 // rotations d Euler 68 83 virtual Vector3d Euler(double, double, double) const; 69 84 70 85 // rotation inverse 86 /*! inverse rotation */ 71 87 Vector3d InvEuler(double, double, double) const; 72 88 73 // rotation d angle phi autour d'un axe omega (regle du tire-bouchon) 89 // rotation d'angle phi autour d'un axe omega (regle du tire-bouchon) 90 /*! rotation of angle phi around an axis omega (Maxwell's rule) */ 74 91 Vector3d Rotate(const Vector3d& omega,double phi); 75 92 … … 89 106 virtual Vector3d operator/(double) const; 90 107 108 /*! vector product */ 91 109 virtual Vector3d operator^(const Vector3d&) const; // produit vectoriel 110 /*! dot product */ 92 111 virtual double operator*(const Vector3d&) const; // produit scalaire 93 112
Note:
See TracChangeset
for help on using the changeset viewer.