HepNormal3D


HepNormal3D is a class describing a normal vector 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 HepNormal3D are performed by HepTransform3D.

Author

Evgueni Tcherniaev

See also

HepTransform3D, HepPoint3D, HepVector3D, HepPlane3D.

Declaration

#include "CLHEP/Geometry/Normal3D.h"

class HepNormal3D : public Hep3Vector

Public Member Functions

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

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


10 October 1997
EVC