public abstract class SpectralCurve
extends java.lang.Object
| Constructor and Description |
|---|
SpectralCurve() |
| Modifier and Type | Method and Description |
|---|---|
abstract float |
sample(float lambda)
This function determines the actual spectral curve data.
|
XYZColor |
toXYZ()
Convert this curve to a tristimulus CIE XYZ color by integrating against
the CIE color matching functions.
|
public abstract float sample(float lambda)
lambda - wavelength to sample in nanometerspublic final XYZColor toXYZ()