RGBTriple Class Reference
#include <RGBTriple.h>
List of all members.
Constructor & Destructor Documentation
RGBTriple::RGBTriple |
( |
void |
|
) |
[inline] |
Member Function Documentation
get the squared distance in the RGB cube between this triple and the triple t
- Parameters:
-
- Returns:
- the square of the euclidean distance between this and t
bool RGBTriple::operator!= |
( |
const RGBTriple & |
t |
) |
const |
return true iff this triple and t are not equal (i.e. have different rgb values)
bool RGBTriple::operator== |
( |
const RGBTriple & |
t |
) |
const |
returns true iff this triple and t are equal (i.e. have the same rgb values)
Member Data Documentation
The documentation for this class was generated from the following files: