Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
11#ifdef GNUPRAGMA
12#pragma implementation
13#endif
14
17
18namespace CLHEP {
19
21 return *this = m1 * (*this);
22}
23
25 return *this = m1 * (*this);
26}
27
28Hep3Vector & Hep3Vector::rotate(double aangle, const Hep3Vector & aaxis){
29 HepRotation trans;
30 trans.rotate(aangle, aaxis);
31 operator*=(trans);
32 return *this;
33}
34
35} // namespace CLHEP
Hep3Vector & operator*=(double)
Hep3Vector & transform(const HepRotation &)
Definition: ThreeVectorR.cc:24
Hep3Vector & rotate(double, const Hep3Vector &)
Definition: ThreeVectorR.cc:28
HepRotation & rotate(double delta, const Hep3Vector &axis)
Definition: Rotation.cc:47
Definition: DoubConv.h:17