CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <Point3D.h>
Geometrical 3D Point with components of double type.
Definition at line 123 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | ) | [inline] |
Default constructor.
Definition at line 127 of file CLHEP/Geometry/Point3D.h.
Constructor from three numbers.
Definition at line 131 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const float * | a | ) | [inline, explicit] |
Constructor from array of floats.
Definition at line 135 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const double * | a | ) | [inline, explicit] |
Constructor from array of doubles.
Definition at line 140 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const Point3D< double > & | v | ) | [inline] |
Copy constructor.
Definition at line 145 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const BasicVector3D< float > & | v | ) | [inline] |
Constructor from BasicVector3D<float>.
Definition at line 149 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const BasicVector3D< double > & | v | ) | [inline] |
Constructor from BasicVector3D<double>.
Definition at line 153 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::~Point3D | ( | ) | [inline] |
Destructor.
Definition at line 157 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | 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 164 of file CLHEP/Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | ) | [inline] |
Default constructor.
Definition at line 127 of file Geometry/Point3D.h.
Constructor from three numbers.
Definition at line 131 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const float * | a | ) | [inline, explicit] |
Constructor from array of floats.
Definition at line 135 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const double * | a | ) | [inline, explicit] |
Constructor from array of doubles.
Definition at line 140 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const Point3D< double > & | v | ) | [inline] |
Copy constructor.
Definition at line 145 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const BasicVector3D< float > & | v | ) | [inline] |
Constructor from BasicVector3D<float>.
Definition at line 149 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | const BasicVector3D< double > & | v | ) | [inline] |
Constructor from BasicVector3D<double>.
Definition at line 153 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::~Point3D | ( | ) | [inline] |
Destructor.
Definition at line 157 of file Geometry/Point3D.h.
HepGeom::Point3D< double >::Point3D | ( | 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 164 of file Geometry/Point3D.h.
double HepGeom::Point3D< double >::distance | ( | ) | const [inline] |
Returns distance to the origin.
Definition at line 205 of file CLHEP/Geometry/Point3D.h.
double HepGeom::Point3D< double >::distance | ( | ) | const [inline] |
Returns distance to the origin.
Definition at line 205 of file Geometry/Point3D.h.
Returns distance to the point.
Definition at line 209 of file CLHEP/Geometry/Point3D.h.
Returns distance to the point.
Definition at line 209 of file Geometry/Point3D.h.
double HepGeom::Point3D< double >::distance2 | ( | ) | const [inline] |
Returns distance to the origin squared.
Definition at line 194 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::mag2().
double HepGeom::Point3D< double >::distance2 | ( | ) | const [inline] |
Returns distance to the origin squared.
Definition at line 194 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::mag2().
Returns distance to the point squared.
Definition at line 198 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Returns distance to the point squared.
Definition at line 198 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
HepGeom::Point3D< 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 172 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
HepGeom::Point3D< 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 172 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Assignment.
Definition at line 176 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Assignment.
Definition at line 176 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Point3D<double>& HepGeom::Point3D< double >::operator= | ( | const BasicVector3D< float > & | v | ) | [inline] |
Assignment from BasicVector3D<float>.
Definition at line 182 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Point3D<double>& HepGeom::Point3D< double >::operator= | ( | const BasicVector3D< float > & | v | ) | [inline] |
Assignment from BasicVector3D<float>.
Definition at line 182 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Point3D<double>& HepGeom::Point3D< double >::operator= | ( | const BasicVector3D< double > & | v | ) | [inline] |
Assignment from BasicVector3D<double>.
Reimplemented from HepGeom::BasicVector3D< double >.
Definition at line 188 of file CLHEP/Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Point3D<double>& HepGeom::Point3D< double >::operator= | ( | const BasicVector3D< double > & | v | ) | [inline] |
Assignment from BasicVector3D<double>.
Reimplemented from HepGeom::BasicVector3D< double >.
Definition at line 188 of file Geometry/Point3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Point3D<double>& HepGeom::Point3D< double >::transform | ( | const Transform3D & | m | ) |
Transformation by Transform3D.
Point3D< double > & HepGeom::Point3D< double >::transform | ( | const Transform3D & | m | ) |
Transformation by Transform3D.
Definition at line 32 of file Point3D.cc.
References HepGeom::Transform3D::dx(), HepGeom::Transform3D::dy(), HepGeom::Transform3D::dz(), 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().