public abstract class SpectralCurve
extends java.lang.Object
SpectralCurve
is used for sampled or analytic spectral data.Modifier | Constructor and Description |
---|---|
protected |
SpectralCurve()
Constructs a new
SpectralCurve instance. |
Modifier and Type | Method and Description |
---|---|
abstract float |
sample(float lambda)
Returns a sample based on the wavelength
lambda in nanometers. |
Color |
toXYZ()
Returns a CIE XYZ
Color . |