HepVector3D


HepVector3D is a class describing a geometrical vector (direction) in 3D. It is derived from the Hep3Vector class, so any methods of Hep3Vector can be applied to it. Affine transformations (translations, rotations, scalings and reflections) of HepVector3D are performed by HepTransform3D.

Author

Evgueni Tcherniaev

See also

HepTransform3D, HepPoint3D, HepNormal3D, HepPlane3D.

Declaration

#include "CLHEP/Geometry/Vector3D.h"

class HepVector3D : public Hep3Vector

Public Member Functions

Constructor
HepVector3D(HepDouble x=0, HepDouble y=0, HepDouble z=0)
Copy constructor
HepVector3D(const Hep3Vector &v)
=
HepVector3D & operator = (const HepVector3D &v)
Assignment.

HepVector3D & operator = (const Hep3Vector &v)
Assignment of Hep3Vector and classes derived from it (HepPoint3D, HepNormal3D).
transform
HepVector3D & transform(const HepTransform3D &m)
Affine transformation.


10 October 1997
EVC