+
class ROOT::Math::RotationZ
-
library: libMathCore
#include "RotationZ.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::RotationZ

Function Members (Methods)

public:
~RotationZ()
ROOT::Math::RotationZ::ScalarAngle() const
ROOT::Math::RotationZ::ScalarCosAngle() const
voidGetAngle(ROOT::Math::RotationZ::Scalar& angle) const
voidGetComponents(ROOT::Math::RotationZ::Scalar& angle) const
ROOT::Math::RotationZInverse() const
voidInvert()
booloperator!=(const ROOT::Math::RotationZ& rhs) const
ROOT::Math::RotationZoperator*(const ROOT::Math::RotationZ& r) const
ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>operator*(const ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>& v) const
ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>operator*(const ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>& v) const
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >operator*(const ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >& v) const
ROOT::Math::RotationZ&operator*=(const ROOT::Math::RotationZ& r)
ROOT::Math::RotationZ&operator=(const ROOT::Math::RotationZ&)
booloperator==(const ROOT::Math::RotationZ& rhs) const
voidRectify()
ROOT::Math::RotationZRotationZ()
ROOT::Math::RotationZRotationZ(ROOT::Math::RotationZ::Scalar angle)
ROOT::Math::RotationZRotationZ(const ROOT::Math::RotationZ&)
voidSetAngle(ROOT::Math::RotationZ::Scalar angle)
voidSetComponents(ROOT::Math::RotationZ::Scalar angle)
ROOT::Math::RotationZ::ScalarSinAngle() const

Data Members

private:
ROOT::Math::RotationZ::ScalarfAngle
ROOT::Math::RotationZ::ScalarfCos
ROOT::Math::RotationZ::ScalarfSin

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RotationZ()
 ========== Constructors and Assignment =====================

Default constructor (identity rotation)

{ }
explicit RotationZ( Scalar angle )
Construct from an angle

Rectify()
void SetAngle(ROOT::Math::RotationZ::Scalar angle)
 ======== Components ==============

Set given the angle.

void SetComponents(ROOT::Math::RotationZ::Scalar angle)
{ SetAngle(angle); }
void GetAngle(ROOT::Math::RotationZ::Scalar& angle) const
Get the angle

{ angle = atan2 (fSin,fCos); }
void GetComponents(ROOT::Math::RotationZ::Scalar& angle) const
{ GetAngle(angle); }
Scalar Angle()
Angle of rotation

{ return atan2 (fSin,fCos); }
Scalar SinAngle()
Sine or Cosine of the rotation angle

{ return fSin; }
Scalar CosAngle()
{ return fCos; }
AVector operator*(const AVector & v)
Overload operator * for rotation on a vector

void Invert()
Invert a rotation in place

{ fAngle = -fAngle; fSin = -fSin; }
RotationZ Inverse()
Return inverse of  a rotation

{ RotationZ t(*this); t.Invert(); return t; }
return ! operator==(const ROOT::Math::RotationZ& rhs) const
os << " RotationZ(" << r.Angle() << ")

Last update: Mon Jun 25 19:40:24 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.