Changeset 1315 for trunk/source/geometry/solids/specific/include
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- Location:
- trunk/source/geometry/solids/specific/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/solids/specific/include/G4ExtrudedSolid.hh
r1228 r1315 25 25 // 26 26 // 27 // $Id: G4ExtrudedSolid.hh,v 1. 7 2008/02/27 12:32:48ivana Exp $28 // GEANT4 tag $Name: geant4-09-0 3$27 // $Id: G4ExtrudedSolid.hh,v 1.8 2010/04/15 10:23:34 ivana Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 29 // 30 30 // … … 45 45 // const G4String& pName - solid name 46 46 // std::vector<G4TwoVector> polygon - the vertices of the outlined polygon 47 // defined in clock -wise order47 // defined in clockwise or anti-clockwise order 48 48 // std::vector<ZSection> - the z-sections defined by 49 49 // z position, offset and scale -
trunk/source/geometry/solids/specific/include/G4PolyconeSide.hh
r1228 r1315 25 25 // 26 26 // 27 // $Id: G4PolyconeSide.hh,v 1.1 2 2008/05/15 11:41:58gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 3$27 // $Id: G4PolyconeSide.hh,v 1.13 2010/02/24 11:18:25 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 29 // 30 30 // … … 114 114 protected: 115 115 116 G4double DistanceAway( const G4ThreeVector &p, G4bool opposite, 117 G4double &distOutside2, G4double *rzNorm=0 ); 118 119 G4bool PointOnCone( const G4ThreeVector &hit, G4double normSign, 120 const G4ThreeVector &p, 121 const G4ThreeVector &v, G4ThreeVector &normal ); 122 123 void CopyStuff( const G4PolyconeSide &source ); 124 125 static void FindLineIntersect( G4double x1, G4double y1, 126 G4double tx1, G4double ty1, 127 G4double x2, G4double y2, 128 G4double tx2, G4double ty2, 129 G4double &x, G4double &y ); 130 131 G4double GetPhi( const G4ThreeVector& p ); 132 133 protected: 134 116 135 G4double r[2], z[2]; // r, z parameters, in specified order 117 136 G4double startPhi, // Start phi (0 to 2pi), if phiIsOpen … … 136 155 G4ThreeVector *corners; // The coordinates of the corners (if phiIsOpen) 137 156 138 G4double DistanceAway( const G4ThreeVector &p, G4bool opposite,139 G4double &distOutside2, G4double *rzNorm=0 );140 141 G4bool PointOnCone( const G4ThreeVector &hit, G4double normSign,142 const G4ThreeVector &p,143 const G4ThreeVector &v, G4ThreeVector &normal );144 145 void CopyStuff( const G4PolyconeSide &source );146 147 static void FindLineIntersect( G4double x1, G4double y1,148 G4double tx1, G4double ty1,149 G4double x2, G4double y2,150 G4double tx2, G4double ty2,151 G4double &x, G4double &y );152 157 private: 153 158 159 std::pair<G4ThreeVector, G4double> fPhi; // Cached value for phi 154 160 G4double kCarTolerance; // Geometrical surface thickness 155 161 G4double fSurfaceArea; // Used for surface calculation -
trunk/source/geometry/solids/specific/include/G4PolyhedraSide.hh
r1228 r1315 25 25 // 26 26 // 27 // $Id: G4PolyhedraSide.hh,v 1.1 1 2008/05/15 11:41:59gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 3$27 // $Id: G4PolyhedraSide.hh,v 1.12 2010/02/24 11:18:25 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 29 // 30 30 // … … 166 166 167 167 G4int PhiSegment( G4double phi ); 168 168 169 G4double GetPhi( const G4ThreeVector& p ); 170 169 171 G4double DistanceToOneSide( const G4ThreeVector &p, 170 172 const G4PolyhedraSideVec &vec, … … 197 199 private: 198 200 201 std::pair<G4ThreeVector, G4double> fPhi; // Cached value for phi 199 202 G4double kCarTolerance; // Geometrical surface thickness 200 203 G4double fSurfaceArea; // Surface Area
Note: See TracChangeset
for help on using the changeset viewer.