Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 28 #include "G4Polyhedron.hh" 29 30 G4Polyhedron::G4Polyhedron () 31 = default; 32 33 G4Polyhedron::G4Polyhedron (G4int Nvert, G4int 34 HepPolyhedron (Nvert, Nface) 35 {} 36 37 G4Polyhedron::~G4Polyhedron () = default; 38 39 G4Polyhedron::G4Polyhedron (const HepPolyhedro 40 : HepPolyhedron(from) 41 { 42 fNumberOfRotationStepsAtTimeOfCreation = 43 from.fNumberOfRotationSteps; 44 } 45 46 G4PolyhedronBox::G4PolyhedronBox (G4double dx, 47 G4Polyhedron (HepPolyhedronBox (dx, dy, dz)) 48 49 G4PolyhedronBox::~G4PolyhedronBox () = default 50 51 G4PolyhedronCone::G4PolyhedronCone (G4double R 52 G4double R 53 G4Polyhedron (HepPolyhedronCone (Rmn1, Rmx1, 54 55 G4PolyhedronCone::~G4PolyhedronCone () = defau 56 57 G4PolyhedronCons::G4PolyhedronCons (G4double R 58 G4double R 59 G4double P 60 G4Polyhedron (HepPolyhedronCons (Rmn1, Rmx1, 61 62 G4PolyhedronCons::~G4PolyhedronCons () = defau 63 64 G4PolyhedronPara::G4PolyhedronPara (G4double D 65 G4double A 66 G4double P 67 G4Polyhedron (HepPolyhedronPara (Dx, Dy, Dz, 68 69 G4PolyhedronPara::~G4PolyhedronPara () = defau 70 71 G4PolyhedronPcon::G4PolyhedronPcon (G4double p 72 const G4do 73 const G4do 74 const G4do 75 G4Polyhedron (HepPolyhedronPcon (phi, dphi, 76 77 G4PolyhedronPcon::G4PolyhedronPcon (G4double p 78 const std: 79 G4Polyhedron (HepPolyhedronPcon(phi, dphi, r 80 81 G4PolyhedronPcon::~G4PolyhedronPcon () = defau 82 83 G4PolyhedronPgon::G4PolyhedronPgon (G4double p 84 G4int nz, 85 const G4do 86 const G4do 87 const G4do 88 G4Polyhedron (HepPolyhedronPgon (phi, dphi, 89 90 G4PolyhedronPgon::G4PolyhedronPgon (G4double p 91 const std: 92 G4Polyhedron (HepPolyhedronPgon(phi, dphi, n 93 94 G4PolyhedronPgon::~G4PolyhedronPgon () = defau 95 96 G4PolyhedronSphere::G4PolyhedronSphere (G4doub 97 G4doub 98 G4doub 99 G4Polyhedron (HepPolyhedronSphere (rmin, rma 100 101 G4PolyhedronSphere::~G4PolyhedronSphere () = d 102 103 G4PolyhedronTet::G4PolyhedronTet (const G4doub 104 const G4doub 105 const G4doub 106 const G4doub 107 G4Polyhedron (HepPolyhedronTet (p0, p1, p2, 108 109 G4PolyhedronTet::~G4PolyhedronTet () = default 110 111 G4PolyhedronTorus::G4PolyhedronTorus (G4double 112 G4double 113 G4double 114 G4Polyhedron (HepPolyhedronTorus (rmin, rmax 115 116 G4PolyhedronTorus::~G4PolyhedronTorus () = def 117 118 G4PolyhedronTrap::G4PolyhedronTrap (G4double D 119 G4double D 120 G4double D 121 G4double D 122 G4double D 123 G4Polyhedron (HepPolyhedronTrap (Dz, Theta, 124 Dy2, Dx3, D 125 126 G4PolyhedronTrap::~G4PolyhedronTrap () = defau 127 128 G4PolyhedronTrd1::G4PolyhedronTrd1 (G4double D 129 G4double D 130 G4Polyhedron (HepPolyhedronTrd1 (Dx1, Dx2, D 131 132 G4PolyhedronTrd1::~G4PolyhedronTrd1 () = defau 133 134 G4PolyhedronTrd2::G4PolyhedronTrd2 (G4double D 135 G4double D 136 G4Polyhedron (HepPolyhedronTrd2 (Dx1, Dx2, D 137 138 G4PolyhedronTrd2::~G4PolyhedronTrd2 () = defau 139 140 G4PolyhedronTube::G4PolyhedronTube (G4double R 141 G4Polyhedron (HepPolyhedronTube (Rmin, Rmax, 142 143 G4PolyhedronTube::~G4PolyhedronTube () = defau 144 145 G4PolyhedronTubs::G4PolyhedronTubs (G4double R 146 G4double P 147 G4Polyhedron (HepPolyhedronTubs (Rmin, Rmax, 148 149 G4PolyhedronTubs::~G4PolyhedronTubs () = defau 150 151 G4PolyhedronParaboloid::G4PolyhedronParaboloid 152 153 154 G4Polyhedron (HepPolyhedronParaboloid(r1, r2 155 156 G4PolyhedronParaboloid::~G4PolyhedronParaboloi 157 158 G4PolyhedronHype::G4PolyhedronHype (G4double r 159 G4double t 160 G4Polyhedron (HepPolyhedronHype(r1, r2, tan1 161 162 G4PolyhedronHype::~G4PolyhedronHype () = defau 163 164 G4PolyhedronEllipsoid::G4PolyhedronEllipsoid ( 165 166 167 G4Polyhedron (HepPolyhedronEllipsoid (ax, by 168 169 G4PolyhedronEllipsoid::~G4PolyhedronEllipsoid 170 171 G4PolyhedronEllipticalCone::G4PolyhedronEllipt 172 173 174 175 G4Polyhedron (HepPolyhedronEllipticalCone (a 176 177 G4PolyhedronEllipticalCone::~G4PolyhedronEllip 178 179 G4PolyhedronHyperbolicMirror::G4PolyhedronHype 180 181 182 G4Polyhedron (HepPolyhedronHyperbolicMirror( 183 184 G4PolyhedronHyperbolicMirror::~G4PolyhedronHyp 185 186 G4PolyhedronTetMesh:: 187 G4PolyhedronTetMesh(const std::vector<G4ThreeV 188 G4Polyhedron (HepPolyhedronTetMesh(tetrahedr 189 190 G4PolyhedronTetMesh::~G4PolyhedronTetMesh () = 191 192 G4PolyhedronBoxMesh:: 193 G4PolyhedronBoxMesh(G4double sizeX, G4double s 194 const std::vector<G4ThreeV 195 G4Polyhedron (HepPolyhedronBoxMesh(sizeX, si 196 197 G4PolyhedronBoxMesh::~G4PolyhedronBoxMesh () = 198 199 std::ostream& operator<<(std::ostream& os, con 200 { 201 os << "G4Polyhedron: " 202 << (const G4Visible&)polyhedron << '\n' 203 << (const HepPolyhedron&)polyhedron; 204 return os; 205 } 206