#include <RGBTriple.h>
◆ RGBTriple() [1/2]
RGBTriple::RGBTriple |
( |
void | | ) |
|
|
inline |
◆ RGBTriple() [2/2]
◆ calcDistance()
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
◆ operator!=()
bool RGBTriple::operator!= |
( |
const RGBTriple & | t | ) |
const |
return true iff this triple and t are not equal (i.e. have different rgb values)
◆ operator==()
bool RGBTriple::operator== |
( |
const RGBTriple & | t | ) |
const |
returns true iff this triple and t are equal (i.e. have the same rgb values)
◆ Blue
◆ Green
◆ Red
The documentation for this class was generated from the following files: