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 |
QCuboid::QCuboid | ( | const QGeomVector & | position, | |
double | dimX, | |||
double | dimY, | |||
double | dimZ | |||
) |
constructor with position and dimesions
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 |