Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HepGeom::RotateX3D Class Reference

#include <Transform3D.h>

+ Inheritance diagram for HepGeom::RotateX3D:

Public Member Functions

 RotateX3D ()
 
 RotateX3D (double a)
 
- Public Member Functions inherited from HepGeom::Rotate3D
 Rotate3D ()
 
 Rotate3D (const CLHEP::HepRotation &mt)
 
 Rotate3D (double a, const Point3D< double > &p1, const Point3D< double > &p2)
 
 Rotate3D (double a, const Vector3D< double > &v)
 
 Rotate3D (const Point3D< double > &fr1, const Point3D< double > &fr2, const Point3D< double > &to1, const Point3D< double > &to2)
 
- Public Member Functions inherited from HepGeom::Transform3D
 Transform3D ()
 
 Transform3D (const CLHEP::HepRotation &mt, const CLHEP::Hep3Vector &v)
 
 Transform3D (const Point3D< double > &fr0, const Point3D< double > &fr1, const Point3D< double > &fr2, const Point3D< double > &to0, const Point3D< double > &to1, const Point3D< double > &to2)
 
 Transform3D (const Transform3D &mt)=default
 
 Transform3D (Transform3D &&mt)=default
 
 ~Transform3D ()=default
 
Transform3Doperator= (const Transform3D &mt)=default
 
Transform3Doperator= (Transform3D &&mt)=default
 
const Transform3D_row operator[] (int) const
 
double operator() (int, int) const
 
double xx () const
 
double xy () const
 
double xz () const
 
double yx () const
 
double yy () const
 
double yz () const
 
double zx () const
 
double zy () const
 
double zz () const
 
double dx () const
 
double dy () const
 
double dz () const
 
void setIdentity ()
 
Transform3D inverse () const
 
Transform3D operator* (const Transform3D &b) const
 
void getDecomposition (Scale3D &scale, Rotate3D &rotation, Translate3D &translation) const
 
bool isNear (const Transform3D &t, double tolerance=2.2E-14) const
 
CLHEP::HepRotation getRotation () const
 
CLHEP::Hep3Vector getTranslation () const
 
bool operator== (const Transform3D &transform) const
 
bool operator!= (const Transform3D &transform) const
 

Additional Inherited Members

- Static Public Attributes inherited from HepGeom::Transform3D
static DLL_API const Transform3D Identity = Transform3D ()
 
- Protected Member Functions inherited from HepGeom::Transform3D
 Transform3D (double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ)
 
void setTransform (double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ)
 
- Protected Attributes inherited from HepGeom::Transform3D
double xx_
 
double xy_
 
double xz_
 
double dx_
 
double yx_
 
double yy_
 
double yz_
 
double dy_
 
double zx_
 
double zy_
 
double zz_
 
double dz_
 

Detailed Description

Constructs a rotation around x-axis. This class provides additional constructors for Transform3D and should not be used as a separate class.

Example of use:

Author
Evgue.nosp@m.ni.T.nosp@m.chern.nosp@m.iaev.nosp@m.@cern.nosp@m..ch

Definition at line 425 of file Transform3D.h.

Constructor & Destructor Documentation

◆ RotateX3D() [1/2]

HepGeom::RotateX3D::RotateX3D ( )
inline

Default constructor: sets the Identity transformation.

Definition at line 429 of file Transform3D.h.

429: Rotate3D() {}

◆ RotateX3D() [2/2]

HepGeom::RotateX3D::RotateX3D ( double  a)
inline

Constructs a rotation around x-axis by angle a.

Definition at line 433 of file Transform3D.h.

433 {
434 double cosa = std::cos(a), sina = std::sin(a);
435 setTransform(1,0,0,0, 0,cosa,-sina,0, 0,sina,cosa,0);
436 }
void setTransform(double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ)
Definition: Transform3D.h:185

The documentation for this class was generated from the following file: