CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Public Member Functions | List of all members
HepGeom::Normal3D< double > Class Template Reference

#include <Normal3D.h>

Inheritance diagram for HepGeom::Normal3D< double >:
HepGeom::BasicVector3D< double > HepGeom::BasicVector3D< double >

Public Member Functions

 Normal3D ()
 
 Normal3D (double x1, double y1, double z1)
 
 Normal3D (const float *a)
 
 Normal3D (const double *a)
 
 Normal3D (const Normal3D< double > &v)
 
 Normal3D (const BasicVector3D< float > &v)
 
 Normal3D (const BasicVector3D< double > &v)
 
 ~Normal3D ()
 
 Normal3D (const CLHEP::Hep3Vector &v)
 
 operator CLHEP::Hep3Vector () const
 
Normal3D< double > & operator= (const Normal3D< double > &v)
 
Normal3D< double > & operator= (const BasicVector3D< float > &v)
 
Normal3D< double > & operator= (const BasicVector3D< double > &v)
 
Normal3D< double > & transform (const Transform3D &m)
 
 Normal3D ()
 
 Normal3D (double x1, double y1, double z1)
 
 Normal3D (const float *a)
 
 Normal3D (const double *a)
 
 Normal3D (const Normal3D< double > &v)
 
 Normal3D (const BasicVector3D< float > &v)
 
 Normal3D (const BasicVector3D< double > &v)
 
 ~Normal3D ()
 
 Normal3D (const CLHEP::Hep3Vector &v)
 
 operator CLHEP::Hep3Vector () const
 
Normal3D< double > & operator= (const Normal3D< double > &v)
 
Normal3D< double > & operator= (const BasicVector3D< float > &v)
 
Normal3D< double > & operator= (const BasicVector3D< double > &v)
 
Normal3D< double > & transform (const Transform3D &m)
 
- Public Member Functions inherited from HepGeom::BasicVector3D< double >
 BasicVector3D (doublex1, doubley1, doublez1)
 
 BasicVector3D (const BasicVector3D< float > &v)
 
 BasicVector3D (doublex1, doubley1, doublez1)
 
 BasicVector3D (const BasicVector3D< float > &v)
 
virtual ~BasicVector3D ()
 
virtual ~BasicVector3D ()
 
 operator double * ()
 
 operator double * ()
 
 operator const double * () const
 
 operator const double * () const
 
 operator CLHEP::Hep3Vector () const
 
 operator CLHEP::Hep3Vector () const
 
BasicVector3D< double > & operator= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator+= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator+= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator-= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator-= (const BasicVector3D< double > &v)
 
BasicVector3D< double > & operator*= (double a)
 
BasicVector3D< double > & operator*= (double a)
 
BasicVector3D< double > & operator/= (double a)
 
BasicVector3D< double > & operator/= (double a)
 
double operator() (int i) const
 
doubleoperator() (int i)
 
double operator() (int i) const
 
doubleoperator() (int i)
 
double operator[] (int i) const
 
doubleoperator[] (int i)
 
double operator[] (int i) const
 
doubleoperator[] (int i)
 
double x () const
 
double x () const
 
double y () const
 
double y () const
 
double z () const
 
double z () const
 
void setX (doublea)
 
void setX (doublea)
 
void setY (doublea)
 
void setY (doublea)
 
void setZ (doublea)
 
void setZ (doublea)
 
void set (doublex1, doubley1, doublez1)
 
void set (doublex1, doubley1, doublez1)
 
double perp2 () const
 
double perp2 (const BasicVector3D< double > &v) const
 
double perp2 () const
 
double perp2 (const BasicVector3D< double > &v) const
 
double perp () const
 
double perp (const BasicVector3D< double > &v) const
 
double perp () const
 
double perp (const BasicVector3D< double > &v) const
 
double rho () const
 
double rho () const
 
void setPerp (doublerh)
 
void setPerp (doublerh)
 
double mag2 () const
 
double mag2 () const
 
double mag () const
 
double mag () const
 
double r () const
 
double r () const
 
double phi () const
 
double phi () const
 
double theta () const
 
double theta () const
 
double cosTheta () const
 
double cosTheta () const
 
double getR () const
 
double getR () const
 
double getPhi () const
 
double getPhi () const
 
double getTheta () const
 
double getTheta () const
 
void setMag (doublema)
 
void setMag (doublema)
 
void setR (doublema)
 
void setR (doublema)
 
void setPhi (doubleph)
 
void setPhi (doubleph)
 
void setTheta (doubleth)
 
void setTheta (doubleth)
 
double pseudoRapidity () const
 
double pseudoRapidity () const
 
double eta () const
 
double eta () const
 
double getEta () const
 
double getEta () const
 
void setEta (doublea)
 
void setEta (doublea)
 
double dot (const BasicVector3D< double > &v) const
 
double dot (const BasicVector3D< double > &v) const
 
BasicVector3D< doublecross (const BasicVector3D< double > &v) const
 
BasicVector3D< doublecross (const BasicVector3D< double > &v) const
 
double angle (const BasicVector3D< double > &v) const
 
double angle (const BasicVector3D< double > &v) const
 
BasicVector3D< doubleunit () const
 
BasicVector3D< doubleunit () const
 
BasicVector3D< doubleorthogonal () const
 
BasicVector3D< doubleorthogonal () const
 
BasicVector3D< double > & rotateX (doublea)
 
BasicVector3D< double > & rotateX (doublea)
 
BasicVector3D< double > & rotateY (doublea)
 
BasicVector3D< double > & rotateY (doublea)
 
BasicVector3D< double > & rotateZ (doublea)
 
BasicVector3D< double > & rotateZ (doublea)
 
BasicVector3D< double > & rotate (doublea, const BasicVector3D< double > &v)
 
BasicVector3D< double > & rotate (doublea, const BasicVector3D< double > &v)
 

Additional Inherited Members

- Public Types inherited from HepGeom::BasicVector3D< double >
enum  
 
enum  
 
- Protected Member Functions inherited from HepGeom::BasicVector3D< double >
 BasicVector3D ()
 
 BasicVector3D ()
 
- Protected Attributes inherited from HepGeom::BasicVector3D< double >
double v_ [3]
 

Detailed Description

template<>
class HepGeom::Normal3D< double >

Geometrical 3D Normal with components of double type.

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

Definition at line 102 of file CLHEP/Geometry/Normal3D.h.

Constructor & Destructor Documentation

Default constructor.

Definition at line 106 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( double  x1,
double  y1,
double  z1 
)
inline

Constructor from three numbers.

Definition at line 110 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const float *  a)
inlineexplicit

Constructor from array of floats.

Definition at line 114 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const double a)
inlineexplicit

Constructor from array of doubles.

Definition at line 119 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const Normal3D< double > &  v)
inline

Copy constructor.

Definition at line 124 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const BasicVector3D< float > &  v)
inline

Constructor from BasicVector3D<float>.

Definition at line 128 of file CLHEP/Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const BasicVector3D< double > &  v)
inline

Constructor from BasicVector3D<double>.

Definition at line 132 of file CLHEP/Geometry/Normal3D.h.

Destructor.

Definition at line 136 of file CLHEP/Geometry/Normal3D.h.

Constructor from CLHEP::Hep3Vector. This constructor is needed only for backward compatibility and in principle should be absent.

Definition at line 143 of file CLHEP/Geometry/Normal3D.h.

Default constructor.

Definition at line 106 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( double  x1,
double  y1,
double  z1 
)
inline

Constructor from three numbers.

Definition at line 110 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const float *  a)
inlineexplicit

Constructor from array of floats.

Definition at line 114 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const double a)
inlineexplicit

Constructor from array of doubles.

Definition at line 119 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const Normal3D< double > &  v)
inline

Copy constructor.

Definition at line 124 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const BasicVector3D< float > &  v)
inline

Constructor from BasicVector3D<float>.

Definition at line 128 of file Geometry/Normal3D.h.

HepGeom::Normal3D< double >::Normal3D ( const BasicVector3D< double > &  v)
inline

Constructor from BasicVector3D<double>.

Definition at line 132 of file Geometry/Normal3D.h.

Destructor.

Definition at line 136 of file Geometry/Normal3D.h.

Constructor from CLHEP::Hep3Vector. This constructor is needed only for backward compatibility and in principle should be absent.

Definition at line 143 of file Geometry/Normal3D.h.

Member Function Documentation

HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector ( ) const
inline

Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.

Definition at line 151 of file CLHEP/Geometry/Normal3D.h.

References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector ( ) const
inline

Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.

Definition at line 151 of file Geometry/Normal3D.h.

References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const Normal3D< double > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const Normal3D< double > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const BasicVector3D< float > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const BasicVector3D< float > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const BasicVector3D< double > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::operator= ( const BasicVector3D< double > &  v)
inline
Normal3D<double>& HepGeom::Normal3D< double >::transform ( const Transform3D m)

Transformation by Transform3D.

Normal3D< double > & HepGeom::Normal3D< double >::transform ( const Transform3D m)

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