Skip to main content

create_colour_rgb_list

Function create_colour_rgb_list 

Source
pub fn create_colour_rgb_list(
    tx: &mut Transaction,
    schema: &Schema,
    colours: &[[f64; 3]],
) -> StyleResult<EntityId>
Expand description

Stage an IfcColourRgbList.

ยงErrors

Refuses an empty list and any channel outside [0, 1]: the inner members are IfcNormalisedRatioMeasure, not free reals.