public final class ChromaticitySpectrum extends SpectralCurve
Constructor and Description |
---|
ChromaticitySpectrum(float x,
float y) |
Modifier and Type | Method and Description |
---|---|
static XYZColor |
get(float x,
float y) |
float |
sample(float lambda)
This function determines the actual spectral curve data.
|
toXYZ
public float sample(float lambda)
SpectralCurve
sample
in class SpectralCurve
lambda
- wavelength to sample in nanometerspublic static final XYZColor get(float x, float y)