Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/geometry/solids/specific/src/G4GenericTrap.cc

    r1316 r1337  
    2525//
    2626//
    27 // $Id: G4GenericTrap.cc,v 1.12 2010/06/11 09:42:28 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
     27// $Id: G4GenericTrap.cc,v 1.13 2010/06/25 09:41:07 gunter Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//
     
    206206  if(count==4)
    207207  {
    208     if ( (fabs(p.x()-poly[0].x())+fabs(p.y()-poly[0].y())) > halfCarTolerance )
     208    if ( (std::fabs(p.x()-poly[0].x())+std::fabs(p.y()-poly[0].y())) > halfCarTolerance )
    209209    {
    210210      in=kOutside;
     
    316316    if ( (p2-p0).mag2() < kCarTolerance )
    317317    {
    318       if ( fabs(p.z()+fDz) > kCarTolerance )
     318      if ( std::fabs(p.z()+fDz) > kCarTolerance )
    319319      {
    320320        p2=G4ThreeVector(fVertices[(s+1)%4].x(),fVertices[(s+1)%4].y(),-fDz);
     
    430430  if ( (p2-p0).mag2() < kCarTolerance )
    431431  {
    432     if ( fabs(p.z()+fDz) > halfCarTolerance )
     432    if ( std::fabs(p.z()+fDz) > halfCarTolerance )
    433433    {
    434434      p2=G4ThreeVector(fVertices[j].x(),fVertices[j].y(),-fDz);
     
    756756  G4double zac=0;
    757757 
    758   if ( (fabs(xa-xc)+fabs(ya-yc)) < halfCarTolerance )
     758  if ( (std::fabs(xa-xc)+std::fabs(ya-yc)) < halfCarTolerance )
    759759  {
    760760    xc=fVertices[j+4].x();
     
    765765    //Line case
    766766    //
    767     if ( (fabs(xb-xc)+fabs(yb-yc)) < halfCarTolerance )
     767    if ( (std::fabs(xb-xc)+std::fabs(yb-yc)) < halfCarTolerance )
    768768    {
    769769      return kInfinity;
     
    850850    yd=fVertices[4+j].y();
    851851
    852     if ( ((fabs(xb-xd)+fabs(yb-yd))<halfCarTolerance)
    853       || ((fabs(xa-xc)+fabs(ya-yc))<halfCarTolerance) )
     852    if ( ((std::fabs(xb-xd)+std::fabs(yb-yd))<halfCarTolerance)
     853      || ((std::fabs(xa-xc)+std::fabs(ya-yc))<halfCarTolerance) )
    854854    {
    855855      G4double s=DistToTriangle(p,v,ipl) ;
Note: See TracChangeset for help on using the changeset viewer.