47 #include "../egs_nd_geometry/egs_nd_geometry.h"
54 #define EGS_RZ_EXPORT __declspec(dllexport)
59 #ifdef HAVE_VISIBILITY
60 #define EGS_RZ_EXPORT __attribute__ ((visibility ("default")))
61 #define EGS_RZ_LOCAL __attribute__ ((visibility ("hidden")))
119 vector<EGS_Float> radii;
120 vector<EGS_Float> zbounds;
121 vector<EGS_Float> reg_vol;
122 static string RZType;
135 vector<EGS_Float> rads, vector<EGS_Float> zbs,
const string &name =
"");
147 EGS_Float
getBound(
int idir,
int ind);
virtual int getNRegDir(int idir)
a subclass of EGS_NDGeometry for conveniently defining an RZ geometry
virtual EGS_Float getVolume(int ireg)
Calculates the volume of region ireg.
virtual EGS_Float getBound(int idir, int ind)
Returns region boundaries in direction determined by idir.
const string & getType() const
return RZ geometry type
A class modeling a N-dimensional geometry.