Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.sunflow.image.SpectralCurve
org.sunflow.image.BlackbodySpectrum
public class BlackbodySpectrum
extends SpectralCurve
Constructor Summary | |
|
Method Summary | |
float |
|
Methods inherited from class org.sunflow.image.SpectralCurve | |
sample , toXYZ |
public float sample(float lambda)
This function determines the actual spectral curve data. Note that the lambda parameter is assumed to be in nanometers.
- Overrides:
- sample in interface SpectralCurve
- Parameters:
lambda
- wavelength to sample in nanometers
- Returns:
- the value of the spectral curve at this point