Go to the source code of this file.
|
class | GfColor |
| Represents a color in a specific color space.Basic type: Color. More...
|
|
bool GfIsClose |
( |
GfColor const & |
c1, |
|
|
GfColor const & |
c2, |
|
|
double |
tolerance |
|
) |
| |
|
inline |
Tests for equality of the RGB tuple in a color with a given tolerance, returning true
if the length of the difference vector is less than or equal to tolerance
. This comparison does not adapt the colors to the same color space before comparing, and is not a perceptual comparison.
Definition at line 114 of file color.h.
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
GfColor const & |
|
|
) |
| |
Stream insertion operator for outputting GfColor objects to an output stream.
Output a GfColor.
This operator allows GfColor objects to be written to an output stream.
- Parameters
-
os | The output stream to write to. |
color | The GfColor object to be outputted. |
- Returns
- The output stream after writing the GfColor object.