QCuboid Class Reference

Inheritance diagram for QCuboid:

QCrystal List of all members.

Detailed Description

geometric description of a cuboid

Author:
Sergio Di Domizio


Public Member Functions

 QCuboid ()
 default constructor
 QCuboid (const QGeomVector &position, double dimX, double dimY, double dimZ)
 constructor with position and dimesions
virtual ~QCuboid ()
 destructor
void SetPosition (const QGeomVector &position)
 set the position in space of the cuboid
void SetDimensions (double dimX, double dimY, double dimZ)
 set the dimensions of the cuboid
const QGeomVector & GetPosition () const
 get crystal position
double GetDimX () const
 get X dimension of the cuboid
double GetDimY () const
 get Y dimension of the cuboid
double GetDimZ () const
 get Z dimension of the cuboid
double GetVolume ()
 get the volume of the cuboid

Private Attributes

QGeomVector fPosition
double fDimX
double fDimY
double fDimZ


Constructor & Destructor Documentation

QCuboid::QCuboid ( const QGeomVector &  position,
double  dimX,
double  dimY,
double  dimZ 
)

constructor with position and dimesions

Parameters:
position crystal position
dimX X dimension of the crystal in mm
dimY Y dimension of the crystal in mm
dimZ Z dimension of the crystal in mm


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:42 2009 for CUORE Software by  doxygen 1.5.1