Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
ThreeVectorR.cc
Go to the documentation of this file.
1// -*- C++ -*-
2// ---------------------------------------------------------------------------
3//
4// This file is a part of the CLHEP - a Class Library for High Energy Physics.
5//
6// This is the implementation of those methods of the Hep3Vector class which
7// require linking of the HepRotation class. These methods have been broken
8// out of ThreeVector.cc.
9//
10
13
14namespace CLHEP {
15
17 return *this = m1 * (*this);
18}
19
21 return *this = m1 * (*this);
22}
23
24Hep3Vector & Hep3Vector::rotate(double angle1, const Hep3Vector & aaxis){
25 HepRotation trans;
26 trans.rotate(angle1, aaxis);
27 operator*=(trans);
28 return *this;
29}
30
31} // namespace CLHEP
Hep3Vector & operator*=(double)
Hep3Vector & transform(const HepRotation &)
Hep3Vector & rotate(double, const Hep3Vector &)
HepRotation & rotate(double delta, const Hep3Vector &axis)
Definition Rotation.cc:42