14 SolidBox(
const double& cx,
const double& cy,
const double& cz,
15 const double& lx,
const double& ly,
const double& lz);
16 SolidBox(
const double& cx,
const double& cy,
const double& cz,
17 const double& lx,
const double& ly,
const double& lz,
18 const double& dx,
const double& dy,
const double& dz);
22 virtual bool IsInside(
const double& x,
const double& y,
const double& z)
const;
23 virtual bool GetBoundingBox(
double& xmin,
double& ymin,
double& zmin,
24 double& xmax,
double& ymax,
double& zmax)
const;
25 virtual bool IsBox()
const {
return true; }
27 virtual bool GetCenter(
double& x,
double& y,
double& z)
const;
28 virtual bool GetDimensions(
double& l1,
double& l2,
double& l3)
const;
29 virtual bool GetOrientation(
double& ctheta,
double& stheta,
double& cphi,
38 double m_cX, m_cY, m_cZ;
40 double m_lX, m_lY, m_lZ;
42 double m_dX, m_dY, m_dZ;
43 double m_cPhi, m_sPhi;
44 double m_cTheta, m_sTheta;
void SetHalfLengthY(const double &ly)
void SetHalfLengthX(const double &lx)
virtual bool GetOrientation(double &ctheta, double &stheta, double &cphi, double &sphi) const
virtual bool GetDimensions(double &l1, double &l2, double &l3) const
virtual bool IsInside(const double &x, const double &y, const double &z) const
virtual bool GetCenter(double &x, double &y, double &z) const
void SetHalfLengthZ(const double &lz)
virtual bool GetBoundingBox(double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) const
virtual bool IsBox() const