Changeset 565 in Sophya for trunk/SophyaLib/Samba/vector3d.h


Ignore:
Timestamp:
Nov 10, 1999, 3:01:46 PM (26 years ago)
Author:
ansari
Message:

ajout doc GLM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/vector3d.h

    r518 r565  
    1818  pour les rotations (angles d'Euler) ma source est
    1919  "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
    2029*/
    2130
     
    5160
    5261  // ecart angulaire entre 2 vecteurs dans [0,Pi]
     62  /*!   angular gap between 2 vectors in [0,Pi] */
    5363  virtual double SepAngle(const Vector3d&) const;
    5464
    5565  // produit vectoriel
     66  /*!    vector product */
    5667  virtual Vector3d Vect(const Vector3d&) const;
    5768
    5869  // vecteur perpendiculaire de meme phi
     70  /*!    perpendicular vector, with equal phi */
    5971  virtual Vector3d VperpPhi() const;
    6072
    6173  // vecteur perpendiculaire de meme theta
     74  /*!    perpendicular vector with equal theta */
    6275  virtual Vector3d VperpTheta() const;
    6376
     
    6578  virtual Vector3d EPhi() const;
    6679
     80  // rotations d'Euler
     81  /*!    Euler's rotations */
    6782  // rotations d Euler
    6883  virtual Vector3d Euler(double, double, double) const;
    6984
    7085  // rotation inverse
     86  /*!    inverse rotation */
    7187  Vector3d InvEuler(double, double, double) const;
    7288
    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) */
    7491  Vector3d Rotate(const Vector3d& omega,double phi);
    7592
     
    89106  virtual Vector3d operator/(double) const;
    90107
     108  /*!    vector product */
    91109  virtual Vector3d operator^(const Vector3d&) const; // produit vectoriel
     110  /*!    dot product */
    92111  virtual double operator*(const Vector3d&) const; // produit scalaire
    93112
Note: See TracChangeset for help on using the changeset viewer.