Changeset 849 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 06/13/01 12:48:40 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r749 r849 70 70 void MHexagon::Copy( TObject &obj ) 71 71 { 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 ; 80 82 } 81 83 Int_t MHexagon::DistancetoPrimitive( Int_t px, Int_t py )
Note:
See TracChangeset
for help on using the changeset viewer.