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, waittoXYZpublic float sample(float lambda)
SpectralCurvesample in class SpectralCurvelambda - wavelength to sample in nanometerspublic static final XYZColor get(float x, float y)