//*-- AUTHOR : Ilse Koenig
//*-- Modified : 16/06/99
//_HADES_CLASS_DESCRIPTION
///////////////////////////////////////////////////////////////////////////////
//
// HGeomVector
//
// This class defines a vector with 3 Double_t components.
// Instantiations of this class are e.g geometry points and
// translation vectors in the geometry transformations.
//
// All functions and operators are defined inline.
//
// Constructors:
// HGeomVector(Double_t dx=0,Double_t dy=0,Double_t dz=0)
// HGeomVector(const HGeomVector& v)
//
// Access to the components:
// void setVector(const Double_t* a);
// void setX(const Double_t a)
// void setY(const Double_t a)
// void setZ(const Double_t a)
// Double_t getX() const
// Double_t getY() const
// Double_t getZ() const
// Double_t operator() (const Int_t i) const;
//
// Check for the size of all components:
// Bool_t operator < (const Double_t a)
// Bool_t operator <= (const Double_t a)
// Bool_t operator > (const Double_t a)
// Bool_t operator >= (const Double_t a)
//
// Check for equality/inequality;
// Bool_t operator == (const HGeomVector& v) const
// Bool_t operator != (const HGeomVector& v) const
//
// Addition/Substraction of a vector;
// HGeomVector& operator += (const Double_t a)
// HGeomVector& operator -= (const Double_t a)
//
// Addition/Substraction of two vectors;
// HGeomVector operator + (const HGeomVector& v) const
// HGeomVector operator - (const HGeomVector& v) const
//
// Multiplication/Division of each components with/by a factor
// HGeomVector& operator *= (const Double_t a)
// HGeomVector& operator /= (const Double_t a)
//
//
// HGeomVector operator - () const
// changes the sign of all components
//
// HGeomVector& operator = (const HGeomVector& v)
// assignment
//
// HGeomVector& abs()
// builds absolute value of each components
//
// Double_t scalarProduct(const HGeomVector& v) const;
// returns the scalar product
//
// HGeomVector vectorProduct(const HGeomVector& v) const;
// returns the vector product
//
// Double_t length() const {return sqrt(x*x+y*y+z*z);}
// returns the length
//
// void clear()
// sets all components to 0.0
//
// void print()
// prints the components
//
// void round(Int_t n)
// rounds all components to a precision with n digits
//
// friend ostream& operator << (ostream& put,const HGeomVector& v);
// output to stream
//
// friend istream& operator >> (istream& get,HGeomVector& v);
// input from stream
//
///////////////////////////////////////////////////////////////////////////////
#include "hgeomvector.h"
ClassImp(HGeomVector)
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.