3#ifndef G_SOLID_SPHERE_H
4#define G_SOLID_SPHERE_H
14 SolidSphere(
const double& cx,
const double& cy,
const double& cz,
15 const double& rmin,
const double& rmax);
19 virtual bool IsInside(
const double& x,
const double& y,
const double& z)
const;
20 virtual bool GetBoundingBox(
double& xmin,
double& ymin,
double& zmin,
21 double& xmax,
double& ymax,
double& zmax)
const;
24 virtual bool GetCenter(
double& x,
double& y,
double& z)
const;
25 virtual bool GetDimensions(
double& l1,
double& l2,
double& l3)
const;
26 virtual bool GetOrientation(
double& ctheta,
double& stheta,
double& cphi,
34 double m_cX, m_cY, m_cZ;
36 double m_rMin, m_rMax;
virtual bool GetCenter(double &x, double &y, double &z) const
virtual bool IsInside(const double &x, const double &y, const double &z) const
void SetInnerRadius(const double &rmin)
virtual bool IsSphere() const
void SetOuterRadius(const double &rmax)
virtual bool GetBoundingBox(double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) const
virtual bool GetOrientation(double &ctheta, double &stheta, double &cphi, double &sphi) const
virtual bool GetDimensions(double &l1, double &l2, double &l3) const