LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <Color.h>
Public Member Functions | |
Color (double g_r=std::numeric_limits< double >::quiet_NaN()) | |
bool | isIndeterminate () const |
Whether the color is the special value that indicates that it is unspecified. More... | |
double | getLambdaEff (Filter const &) const |
bool | operator== (Color const &other) const |
bool | operator!= (Color const &other) const |
Private Attributes | |
double | _g_r |
Describe the colour of a source
We need a concept of colour more general than "g - r" in order to calculate e.g. atmospheric dispersion or a source's PSF
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Equality comparison for colors
Just a placeholder like everything else, but we explicitly let indeterminate colors compare as equal.
In the future, we'll probably want some way of doing fuzzy comparisons on colors, but then we'd have to define some kind of "color difference" matric, and it's not worthwhile doing that yet.
Definition at line 49 of file Color.h.
|
inline |
Equality comparison for colors
Just a placeholder like everything else, but we explicitly let indeterminate colors compare as equal.
In the future, we'll probably want some way of doing fuzzy comparisons on colors, but then we'd have to define some kind of "color difference" matric, and it's not worthwhile doing that yet.
Definition at line 46 of file Color.h.