HepVector3D


HepVector3D is a class describing a geometrical vector (direction) in 3D. Transformations (translations, rotations, scalings and reflections) of HepVector3D are performed by HepTransform3D.

Author

Evgueni Tcherniaev

See also

BasicVector3D, HepPoint3D, HepNormal3D, HepPlane3D, HepTransform3D.

Declaration

#include "CLHEP/Geometry/Vector3D.h"

class HepVector3D : public BasicVector3D

Public Member Functions

Default constructor
HepVector3D()
Constructor
HepVector3D(double x, double y, double z)
Constructor
HepVector3D(const BasicVector3D & v)
Constructor
HepVector3D(const Hep3Vector & v)
=
HepVector3D & operator = (const HepVector3D &v)
Assignment.

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


21 June 2001
EVC