Ignore:
Timestamp:
06/13/01 12:48:40 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/MHexagon.cc

    r749 r849  
    7070void MHexagon::Copy( TObject &obj )
    7171{
    72   //     copy this hexagon to hexagon
    73     TObject::Copy  ( obj ) ;
    74     TAttLine::Copy (((MHexagon&) obj ) ) ;
    75     TAttFill::Copy (((MHexagon&) obj ) ) ;
    76 
    77     ((MHexagon&) obj).fX = fX ;
    78     ((MHexagon&) obj).fY = fY ;
    79     ((MHexagon&) obj).fD = fD ;
     72    //     copy this hexagon to hexagon
     73    MHexagon &hex = (MHexagon&) obj;
     74
     75    TObject::Copy(obj);
     76    TAttLine::Copy(hex);
     77    TAttFill::Copy(hex);
     78
     79    hex.fX = fX ;
     80    hex.fY = fY ;
     81    hex.fD = fD ;
    8082}
    8183Int_t MHexagon::DistancetoPrimitive( Int_t px, Int_t py )
Note: See TracChangeset for help on using the changeset viewer.