class ROOT::Math::RotationY


      Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
      For efficiency reason, in addition to the the angle, the sine and cosine of the angle are held

      @ingroup GenVector

Function Members (Methods)

public:
~RotationY()
ROOT::Math::RotationY::ScalarAngle() const
ROOT::Math::RotationY::ScalarCosAngle() const
voidGetAngle(ROOT::Math::RotationY::Scalar& angle) const
voidGetComponents(ROOT::Math::RotationY::Scalar& angle) const
ROOT::Math::RotationYInverse() const
voidInvert()
booloperator!=(const ROOT::Math::RotationY& rhs) const
ROOT::Math::RotationYoperator*(const ROOT::Math::RotationY& 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::RotationY&operator*=(const ROOT::Math::RotationY& r)
ROOT::Math::RotationY&operator=(const ROOT::Math::RotationY&)
booloperator==(const ROOT::Math::RotationY& rhs) const
voidRectify()
ROOT::Math::RotationYRotationY()
ROOT::Math::RotationYRotationY(ROOT::Math::RotationY::Scalar angle)
ROOT::Math::RotationYRotationY(const ROOT::Math::RotationY&)
voidSetAngle(ROOT::Math::RotationY::Scalar angle)
voidSetComponents(ROOT::Math::RotationY::Scalar angle)
ROOT::Math::RotationY::ScalarSinAngle() const

Data Members

private:
ROOT::Math::RotationY::ScalarfAnglerotation angle
ROOT::Math::RotationY::ScalarfCoscosine of the rotaiton angle
ROOT::Math::RotationY::ScalarfSinsine of the rotation angle

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RotationY()
 ========== Constructors and Assignment =====================

      Default constructor (identity rotation)

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

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

      Set given the angle.

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

{ angle = atan2 (fSin,fCos); }
void GetComponents(ROOT::Math::RotationY::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; }
RotationY Inverse()
      Return inverse of  a rotation

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

Last change: root/mathcore:$Id: RotationY.h 22516 2008-03-07 15:14:26Z moneta $
Last generated: 2008-06-25 08:30
Copyright (c) 2005 , LCG ROOT FNAL MathLib Team *

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.