public final class ChromaticitySpectrum extends SpectralCurve
Constructor | Description |
---|---|
ChromaticitySpectrum(float x,
float y) |
Modifier and Type | Method | Description |
---|---|---|
static XYZColor |
get(float x,
float y) |
|
float |
sample(float lambda) |
This function determines the actual spectral curve data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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)