00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #include "G4Polyhedron.hh"
00030
00031 G4Polyhedron::G4Polyhedron ():
00032 fNumberOfRotationStepsAtTimeOfCreation (fNumberOfRotationSteps)
00033 {}
00034
00035 G4Polyhedron::~G4Polyhedron () {}
00036
00037 G4Polyhedron::G4Polyhedron (const HepPolyhedron& from)
00038 : HepPolyhedron(from)
00039 {
00040 fNumberOfRotationStepsAtTimeOfCreation =
00041 from.fNumberOfRotationSteps;
00042 }
00043
00044 G4PolyhedronBox::G4PolyhedronBox (G4double dx, G4double dy, G4double dz):
00045 G4Polyhedron (HepPolyhedronBox (dx, dy, dz)) {}
00046
00047 G4PolyhedronBox::~G4PolyhedronBox () {}
00048
00049 G4PolyhedronCone::G4PolyhedronCone (G4double Rmn1, G4double Rmx1,
00050 G4double Rmn2, G4double Rmx2, G4double Dz):
00051 G4Polyhedron (HepPolyhedronCone (Rmn1, Rmx1, Rmn2, Rmx2, Dz)) {}
00052
00053 G4PolyhedronCone::~G4PolyhedronCone () {}
00054
00055 G4PolyhedronCons::G4PolyhedronCons (G4double Rmn1, G4double Rmx1,
00056 G4double Rmn2, G4double Rmx2, G4double Dz,
00057 G4double Phi1, G4double Dphi):
00058 G4Polyhedron (HepPolyhedronCons (Rmn1, Rmx1, Rmn2, Rmx2, Dz, Phi1, Dphi)) {}
00059
00060 G4PolyhedronCons::~G4PolyhedronCons () {}
00061
00062 G4PolyhedronPara::G4PolyhedronPara (G4double Dx, G4double Dy, G4double Dz,
00063 G4double Alpha, G4double Theta,
00064 G4double Phi):
00065 G4Polyhedron (HepPolyhedronPara (Dx, Dy, Dz, Alpha, Theta, Phi)) {}
00066
00067 G4PolyhedronPara::~G4PolyhedronPara () {}
00068
00069 G4PolyhedronPcon::G4PolyhedronPcon (G4double phi, G4double dphi, G4int nz,
00070 const G4double *z,
00071 const G4double *rmin,
00072 const G4double *rmax):
00073 G4Polyhedron (HepPolyhedronPcon (phi, dphi, nz, z, rmin, rmax)) {}
00074
00075 G4PolyhedronPcon::~G4PolyhedronPcon () {}
00076
00077 G4PolyhedronPgon::G4PolyhedronPgon (G4double phi, G4double dphi, G4int npdv,
00078 G4int nz,
00079 const G4double *z,
00080 const G4double *rmin,
00081 const G4double *rmax):
00082 G4Polyhedron (HepPolyhedronPgon (phi, dphi, npdv, nz, z, rmin, rmax)) {}
00083
00084 G4PolyhedronPgon::~G4PolyhedronPgon () {}
00085
00086 G4PolyhedronSphere::G4PolyhedronSphere (G4double rmin, G4double rmax,
00087 G4double phi, G4double dphi,
00088 G4double the, G4double dthe):
00089 G4Polyhedron (HepPolyhedronSphere (rmin, rmax, phi, dphi, the, dthe)) {}
00090
00091 G4PolyhedronSphere::~G4PolyhedronSphere () {}
00092
00093 G4PolyhedronTorus::G4PolyhedronTorus (G4double rmin, G4double rmax,
00094 G4double rtor,
00095 G4double phi, G4double dphi):
00096 G4Polyhedron (HepPolyhedronTorus (rmin, rmax, rtor, phi, dphi)) {}
00097
00098 G4PolyhedronTorus::~G4PolyhedronTorus () {}
00099
00100 G4PolyhedronTrap::G4PolyhedronTrap (G4double Dz, G4double Theta, G4double Phi,
00101 G4double Dy1,
00102 G4double Dx1, G4double Dx2, G4double Alp1,
00103 G4double Dy2,
00104 G4double Dx3, G4double Dx4, G4double Alp2):
00105 G4Polyhedron (HepPolyhedronTrap (Dz, Theta, Phi, Dy1, Dx1, Dx2, Alp1,
00106 Dy2, Dx3, Dx4, Alp2)) {}
00107
00108 G4PolyhedronTrap::~G4PolyhedronTrap () {}
00109
00110 G4PolyhedronTrd1::G4PolyhedronTrd1 (G4double Dx1, G4double Dx2,
00111 G4double Dy, G4double Dz):
00112 G4Polyhedron (HepPolyhedronTrd1 (Dx1, Dx2, Dy, Dz)) {}
00113
00114 G4PolyhedronTrd1::~G4PolyhedronTrd1 () {}
00115
00116 G4PolyhedronTrd2::G4PolyhedronTrd2 (G4double Dx1, G4double Dx2,
00117 G4double Dy1, G4double Dy2, G4double Dz):
00118 G4Polyhedron (HepPolyhedronTrd2 (Dx1, Dx2, Dy1, Dy2, Dz)) {}
00119
00120 G4PolyhedronTrd2::~G4PolyhedronTrd2 () {}
00121
00122 G4PolyhedronTube::G4PolyhedronTube (G4double Rmin, G4double Rmax, G4double Dz):
00123 G4Polyhedron (HepPolyhedronTube (Rmin, Rmax, Dz)) {}
00124
00125 G4PolyhedronTube::~G4PolyhedronTube () {}
00126
00127 G4PolyhedronTubs::G4PolyhedronTubs (G4double Rmin, G4double Rmax, G4double Dz,
00128 G4double Phi1, G4double Dphi):
00129 G4Polyhedron (HepPolyhedronTubs (Rmin, Rmax, Dz, Phi1, Dphi)) {}
00130
00131 G4PolyhedronTubs::~G4PolyhedronTubs () {}
00132
00133 G4PolyhedronParaboloid::G4PolyhedronParaboloid (G4double r1, G4double r2,
00134 G4double dz, G4double sPhi,
00135 G4double dPhi):
00136 G4Polyhedron (HepPolyhedronParaboloid(r1, r2, dz, sPhi, dPhi)) {}
00137
00138 G4PolyhedronParaboloid::~G4PolyhedronParaboloid () {}
00139
00140 G4PolyhedronHype::G4PolyhedronHype (G4double r1, G4double r2, G4double tan1,
00141 G4double tan2, G4double halfZ):
00142 G4Polyhedron (HepPolyhedronHype(r1, r2, tan1, tan2, halfZ)) {}
00143
00144 G4PolyhedronHype::~G4PolyhedronHype () {}
00145
00146 G4PolyhedronEllipsoid::G4PolyhedronEllipsoid (G4double ax, G4double by,
00147 G4double cz,
00148 G4double zCut1, G4double zCut2):
00149 G4Polyhedron (HepPolyhedronEllipsoid (ax, by, cz, zCut1, zCut2)) {}
00150
00151 G4PolyhedronEllipsoid::~G4PolyhedronEllipsoid () {}
00152
00153 G4PolyhedronEllipticalCone::G4PolyhedronEllipticalCone (G4double ax,
00154 G4double ay,
00155 G4double h,
00156 G4double zCut1):
00157 G4Polyhedron (HepPolyhedronEllipticalCone (ax, ay, h, zCut1)) {}
00158
00159 G4PolyhedronEllipticalCone::~G4PolyhedronEllipticalCone () {}
00160
00161 std::ostream& operator<<(std::ostream& os, const G4Polyhedron& polyhedron)
00162 {
00163 os << "G4Polyhedron: "
00164 << (const G4Visible&)polyhedron << '\n'
00165 << (const HepPolyhedron&)polyhedron;
00166 return os;
00167 }