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

HepGeom::Vector3D< double > Class Template Reference

#include <Vector3D.h>

Inheritance diagram for HepGeom::Vector3D< double >:

HepGeom::BasicVector3D< double > List of all members.

Public Member Functions

 Vector3D ()
 Vector3D (double x1, double y1, double z1)
 Vector3D (const float *a)
 Vector3D (const double *a)
 Vector3D (const Vector3D< double > &v)
 Vector3D (const BasicVector3D< float > &v)
 Vector3D (const BasicVector3D< double > &v)
 ~Vector3D ()
 Vector3D (const CLHEP::Hep3Vector &v)
 operator CLHEP::Hep3Vector () const
Vector3D< double > & operator= (const Vector3D< double > &v)
Vector3D< double > & operator= (const BasicVector3D< float > &v)
Vector3D< double > & operator= (const BasicVector3D< double > &v)
Vector3D< double > & transform (const Transform3D &m)

Detailed Description

template<>
class HepGeom::Vector3D< double >

Geometrical 3D Vector with components of double type.

Author:
Evgeni Chernyaev <Evgueni.Tcherniaev@cern.ch>

Definition at line 102 of file Vector3D.h.


Constructor & Destructor Documentation

HepGeom::Vector3D< double >::Vector3D (  )  [inline]

Default constructor.

Definition at line 106 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( double  x1,
double  y1,
double  z1 
) [inline]

Constructor from three numbers.

Definition at line 110 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const float *  a  )  [inline, explicit]

Constructor from array of floats.

Definition at line 114 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const double *  a  )  [inline, explicit]

Constructor from array of doubles.

Definition at line 119 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const Vector3D< double > &  v  )  [inline]

Copy constructor.

Definition at line 124 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const BasicVector3D< float > &  v  )  [inline]

Constructor from BasicVector3D<float>.

Definition at line 128 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const BasicVector3D< double > &  v  )  [inline]

Constructor from BasicVector3D<double>.

Definition at line 132 of file Vector3D.h.

HepGeom::Vector3D< double >::~Vector3D (  )  [inline]

Destructor.

Definition at line 136 of file Vector3D.h.

HepGeom::Vector3D< double >::Vector3D ( const CLHEP::Hep3Vector v  )  [inline]

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

Definition at line 143 of file Vector3D.h.


Member Function Documentation

HepGeom::Vector3D< 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.

Reimplemented from HepGeom::BasicVector3D< double >.

Definition at line 151 of file Vector3D.h.

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

Vector3D<double>& HepGeom::Vector3D< double >::operator= ( const BasicVector3D< double > &  v  )  [inline]

Assignment from BasicVector3D<double>.

Reimplemented from HepGeom::BasicVector3D< double >.

Definition at line 167 of file Vector3D.h.

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

Vector3D<double>& HepGeom::Vector3D< double >::operator= ( const BasicVector3D< float > &  v  )  [inline]

Assignment from BasicVector3D<float>.

Definition at line 161 of file Vector3D.h.

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

Vector3D<double>& HepGeom::Vector3D< double >::operator= ( const Vector3D< double > &  v  )  [inline]

Assignment.

Definition at line 155 of file Vector3D.h.

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

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

Transformation by Transform3D.

Definition at line 32 of file Vector3D.cc.

References HepGeom::BasicVector3D< T >::set(), HepGeom::BasicVector3D< T >::x(), HepGeom::Transform3D::xx(), HepGeom::Transform3D::xy(), HepGeom::Transform3D::xz(), HepGeom::BasicVector3D< T >::y(), HepGeom::Transform3D::yx(), HepGeom::Transform3D::yy(), HepGeom::Transform3D::yz(), HepGeom::BasicVector3D< T >::z(), HepGeom::Transform3D::zx(), HepGeom::Transform3D::zy(), and HepGeom::Transform3D::zz().


The documentation for this class was generated from the following files:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7