ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/externals/clhep/include/CLHEP/Geometry/Point3D.h>
Public Member Functions | |
Point3D ()=default | |
Point3D (double x1, double y1, double z1) | |
Point3D (const float *a) | |
Point3D (const double *a) | |
Point3D (const Point3D< double > &)=default | |
Point3D (Point3D< double > &&)=default | |
Point3D (const BasicVector3D< float > &v) | |
Point3D (const BasicVector3D< double > &v) | |
~Point3D ()=default | |
Point3D (const CLHEP::Hep3Vector &v) | |
operator CLHEP::Hep3Vector () const | |
Point3D< double > & | operator= (const Point3D< double > &)=default |
Point3D< double > & | operator= (const BasicVector3D< float > &v) |
Point3D< double > & | operator= (const BasicVector3D< double > &v) |
Point3D< double > & | operator= (Point3D< double > &&)=default |
double | distance2 () const |
double | distance2 (const Point3D< double > &p) const |
double | distance () const |
double | distance (const Point3D< double > &p) const |
Point3D< double > & | transform (const Transform3D &m) |
Public Member Functions inherited from HepGeom::BasicVector3D< double > | |
BasicVector3D (doublex1, doubley1, doublez1) | |
BasicVector3D (const BasicVector3D< double > &)=default | |
BasicVector3D (const BasicVector3D< float > &v) | |
BasicVector3D (BasicVector3D< double > &&)=default | |
virtual | ~BasicVector3D ()=default |
operator double * () | |
operator const double * () const | |
operator CLHEP::Hep3Vector () const | |
BasicVector3D< double > & | operator= (const BasicVector3D< double > &)=default |
BasicVector3D< double > & | operator= (BasicVector3D< double > &&)=default |
BasicVector3D< double > & | operator+= (const BasicVector3D< double > &v) |
BasicVector3D< double > & | operator-= (const BasicVector3D< double > &v) |
BasicVector3D< double > & | operator*= (double a) |
BasicVector3D< double > & | operator/= (double a) |
double | operator() (int i) const |
double & | operator() (int i) |
double | operator[] (int i) const |
double & | operator[] (int i) |
double | x () const |
double | y () const |
double | z () const |
void | setX (doublea) |
void | setY (doublea) |
void | setZ (doublea) |
void | set (doublex1, doubley1, doublez1) |
double | perp2 () const |
double | perp2 (const BasicVector3D< double > &v) const |
double | perp () const |
double | perp (const BasicVector3D< double > &v) const |
double | rho () const |
void | setPerp (doublerh) |
double | mag2 () const |
double | mag () const |
double | r () const |
double | phi () const |
double | theta () const |
double | cosTheta () const |
double | getR () const |
double | getPhi () const |
double | getTheta () const |
void | setMag (doublema) |
void | setR (doublema) |
void | setPhi (doubleph) |
void | setTheta (doubleth) |
double | pseudoRapidity () const |
double | eta () const |
double | getEta () const |
void | setEta (doublea) |
double | dot (const BasicVector3D< double > &v) const |
BasicVector3D< double > | cross (const BasicVector3D< double > &v) const |
double | angle (const BasicVector3D< double > &v) const |
BasicVector3D< double > | unit () const |
BasicVector3D< double > | orthogonal () const |
BasicVector3D< double > & | rotateX (doublea) |
BasicVector3D< double > & | rotateY (doublea) |
BasicVector3D< double > & | rotateZ (doublea) |
BasicVector3D< double > & | rotate (doublea, const BasicVector3D< double > &v) |
Additional Inherited Members | |
Public Types inherited from HepGeom::BasicVector3D< double > | |
enum | |
Protected Member Functions inherited from HepGeom::BasicVector3D< double > | |
BasicVector3D () | |
Protected Attributes inherited from HepGeom::BasicVector3D< double > | |
double | v_ [3] |
Geometrical 3D Point with components of double type.
Definition at line 128 of file Point3D.h.
View newest version in sPHENIX GitHub at line 128 of file Point3D.h
|
default |
Default constructor.
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Constructor from BasicVector3D<float>.
Definition at line 158 of file Point3D.h.
View newest version in sPHENIX GitHub at line 158 of file Point3D.h
|
inline |
Constructor from BasicVector3D<double>.
Definition at line 162 of file Point3D.h.
View newest version in sPHENIX GitHub at line 162 of file Point3D.h
|
default |
Destructor.
|
inline |
Constructor from CLHEP::Hep3Vector. This constructor is needed only for backward compatibility and in principle should be absent.
Definition at line 173 of file Point3D.h.
View newest version in sPHENIX GitHub at line 173 of file Point3D.h
|
inline |
Returns distance to the origin.
Definition at line 218 of file Point3D.h.
View newest version in sPHENIX GitHub at line 218 of file Point3D.h
Referenced by fillEvent().
|
inline |
|
inline |
Returns distance to the origin squared.
Definition at line 207 of file Point3D.h.
View newest version in sPHENIX GitHub at line 207 of file Point3D.h
References HepGeom::BasicVector3D< T >::mag2().
|
inline |
Returns distance to the point squared.
Definition at line 211 of file Point3D.h.
View newest version in sPHENIX GitHub at line 211 of file Point3D.h
References dx, dy, dz, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inline |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 181 of file Point3D.h.
View newest version in sPHENIX GitHub at line 181 of file Point3D.h
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
default |
Assignment.
|
inline |
Assignment from BasicVector3D<float>.
Definition at line 189 of file Point3D.h.
View newest version in sPHENIX GitHub at line 189 of file Point3D.h
References HepGeom::BasicVector3D< T >::operator=().
|
inline |
Assignment from BasicVector3D<double>.
Definition at line 196 of file Point3D.h.
View newest version in sPHENIX GitHub at line 196 of file Point3D.h
References HepGeom::BasicVector3D< T >::operator=().
|
default |
Move assignment.
Point3D< double > & HepGeom::Point3D< double >::transform | ( | const Transform3D & | m | ) |
Transformation by Transform3D.
Definition at line 30 of file Point3D.cc.
View newest version in sPHENIX GitHub at line 30 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().