00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifdef GNUPRAGMA
00012 #pragma implementation
00013 #endif
00014
00015 #include "CLHEP/Vector/ThreeVector.h"
00016 #include "CLHEP/Vector/Rotation.h"
00017
00018 namespace CLHEP {
00019
00020 Hep3Vector & Hep3Vector::operator *= (const HepRotation & m1) {
00021 return *this = m1 * (*this);
00022 }
00023
00024 Hep3Vector & Hep3Vector::transform(const HepRotation & m1) {
00025 return *this = m1 * (*this);
00026 }
00027
00028 Hep3Vector & Hep3Vector::rotate(double aangle, const Hep3Vector & aaxis){
00029 HepRotation trans;
00030 trans.rotate(aangle, aaxis);
00031 operator*=(trans);
00032 return *this;
00033 }
00034
00035 }