HepRotate3D Class Reference
[Geometry]

Constructs a rotation transformation. More...

#include <Transform3D.h>

Inheritance diagram for HepRotate3D:

HepTransform3D HepRotateX3D HepRotateY3D HepRotateZ3D List of all members.

Public Methods

 HepRotate3D ()
 Default constructor: sets the Identity transformation.

 HepRotate3D (const HepRotation &m)
 Constructor from HepRotation.

 HepRotate3D (double a, const HepPoint3D &p1, const HepPoint3D &p2)
 Constructor from angle and axis given by two points. More...

 HepRotate3D (double a, const HepVector3D &v)
 Constructor from angle and axis. More...

 HepRotate3D (const HepPoint3D &fr1, const HepPoint3D &fr2, const HepPoint3D &to1, const HepPoint3D &to2)
 Constructor for rotation given by original and rotated position of two points. More...


Detailed Description

Constructs a rotation transformation.

This class provides additional constructors for HepTransform3D and should not be used as a separate class.

Example of use:

   HepTransform3D m;
   m = HepRotate3D(30.*deg, HepVector3D(1.,1.,1.));

Author:
<Evgueni.Tcherniaev@cern.ch>


Constructor & Destructor Documentation

HepRotate3D::HepRotate3D double    a,
const HepPoint3D   p1,
const HepPoint3D   p2
 

Constructor from angle and axis given by two points.

Parameters:
a  angle of rotation
p1  begin point of the axis
p2  end point of the axis

HepRotate3D::HepRotate3D double    a,
const HepVector3D   v
[inline]
 

Constructor from angle and axis.

Parameters:
a  angle of rotation
v  axis of rotation

HepRotate3D::HepRotate3D const HepPoint3D   fr1,
const HepPoint3D   fr2,
const HepPoint3D   to1,
const HepPoint3D   to2
[inline]
 

Constructor for rotation given by original and rotated position of two points.

It is assumed that there is no reflection.

Parameters:
fr1  original position of 1st point
fr2  original position of 2nd point
to1  rotated position of 1st point
to2  rotated position of 2nd point


The documentation for this class was generated from the following file:
Class Library for High Energy Physics (version 1.8)