The SEDRIS Data Representation Model
APPENDIX C - Types
SE_HLS_Data
/*
 * STRUCT: SE_HLS_Data
 *
 *   This data type is used for Hue Lightness Saturation colour model's
 *   data.
 *
 *   HLS SUPPORT NOTE:  Support for the HLS (Hue Lightness Saturation)
 *     colour model is provided as a convenience, but it is provided in
 *     separate functions, the SE_RGBtoHLS() and SE_HLStoRGB() functions.
 *     Thus, the SE_HLS_Data structure is not included in the general
 *     SE_Colour_Data structure.
 */
typedef struct
{

SE_Long_Float hue;1
SE_Long_Float lightness;
SE_Long_Float saturation;
} SE_HLS_Data;


Field Notes

hue

angle in degrees about the vertical axis of the HLS double hexcone, with red placed at 0 for consistency with HSV. Valid hues range from 0.0 to 360.0, unless saturation is zero, in which case hue is undefined.




Prev: SE_Grid_Overlap_Operator. Next: SE_HS_Multiplicity_Code.


Return to: Top of this Page, Type Index