#include <Point3D.h>
Inheritance diagram for HepPoint3D:
Public Member Functions | |
HepPoint3D () | |
Default constructor. | |
HepPoint3D (double x, double y, double z) | |
Constructor from three doubles. | |
HepPoint3D (const BasicVector3D &v) | |
Constructor from base class. | |
HepPoint3D (const Hep3Vector &v) | |
Constructor from Hep3Vector. | |
~HepPoint3D () | |
Destructor. | |
HepPoint3D & | operator= (const HepPoint3D &v) |
Assignment. | |
HepPoint3D & | operator= (const BasicVector3D &v) |
Assignment from BasicVector3D and classes derived from it: HepVector3D, HepNormal3D. | |
double | distance2 () const |
Returns distance to the origin squared. | |
double | distance2 (const HepPoint3D &p) const |
Returns distance to the point squared. | |
double | distance () const |
Returns distance to the origin. | |
double | distance (const HepPoint3D &p) const |
Returns distance to the point. | |
HepPoint3D & | transform (const HepTransform3D &m) |
Transformation by HepTransform3D. |
HepPoint3D, HepVector3D and HepNormal3D have very similar set of member functions. The difference among these classes is how they are transformed by HepTransform3D.
|
Constructor from Hep3Vector. This constructor is needed only for backward compatibility and in principle should be absent. |