Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

Location:
trunk/source/geometry/solids/specific/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/geometry/solids/specific/include/G4ExtrudedSolid.hh

    r1228 r1315  
    2525//
    2626//
    27 // $Id: G4ExtrudedSolid.hh,v 1.7 2008/02/27 12:32:48 ivana Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     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 $
    2929//
    3030//
     
    4545// const G4String& pName             - solid name
    4646// std::vector<G4TwoVector> polygon  - the vertices of the outlined polygon
    47 //                                     defined in clock-wise order     
     47//                                     defined in clockwise or anti-clockwise order     
    4848// std::vector<ZSection>             - the z-sections defined by
    4949//                                     z position, offset and scale
  • trunk/source/geometry/solids/specific/include/G4PolyconeSide.hh

    r1228 r1315  
    2525//
    2626//
    27 // $Id: G4PolyconeSide.hh,v 1.12 2008/05/15 11:41:58 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     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 $
    2929//
    3030//
     
    114114  protected:
    115115
     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
    116135    G4double r[2], z[2]; // r, z parameters, in specified order
    117136    G4double startPhi,   // Start phi (0 to 2pi), if phiIsOpen
     
    136155    G4ThreeVector *corners; // The coordinates of the corners (if phiIsOpen)
    137156
    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 );
    152157  private:
    153158
     159    std::pair<G4ThreeVector, G4double> fPhi;  // Cached value for phi
    154160    G4double kCarTolerance; // Geometrical surface thickness
    155161    G4double fSurfaceArea;  // Used for surface calculation
  • trunk/source/geometry/solids/specific/include/G4PolyhedraSide.hh

    r1228 r1315  
    2525//
    2626//
    27 // $Id: G4PolyhedraSide.hh,v 1.11 2008/05/15 11:41:59 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     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 $
    2929//
    3030//
     
    166166 
    167167    G4int PhiSegment( G4double phi );
    168  
     168
     169    G4double GetPhi( const G4ThreeVector& p );
     170
    169171    G4double DistanceToOneSide( const G4ThreeVector &p,
    170172                                const G4PolyhedraSideVec &vec,
     
    197199  private:
    198200
     201    std::pair<G4ThreeVector, G4double> fPhi;  // Cached value for phi
    199202    G4double kCarTolerance;  // Geometrical surface thickness
    200203    G4double fSurfaceArea;   // Surface Area
Note: See TracChangeset for help on using the changeset viewer.