2 // Category: visualization
4 // See the class description in the header file.
17 AliColour::AliColour(G4String name, G4double red, G4double blue, G4double green)
26 AliColour::AliColour(const AliColour& right) {
31 fGreen = right.fGreen;
34 AliColour::~AliColour() {
40 AliColour& AliColour::operator=(const AliColour& right)
42 // check assignement to self
43 if (this == &right) return *this;
48 fGreen = right.fGreen;
53 G4int AliColour::operator==(const AliColour& right) const
56 G4int returnValue = 0;
57 if ( fName == right.fName &&
58 fRed == right.fRed && fBlue == right.fBlue && fGreen == right.fGreen)
64 G4int AliColour::operator!=(const AliColour& right) const
67 G4int returnValue = 1;
68 if (*this == right) returnValue = 0;