Skip to main content

create_light_source_goniometric

Function create_light_source_goniometric 

Source
pub fn create_light_source_goniometric(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: LightSourceDraft<'_>,
    light: GoniometricLight,
) -> StyleResult<EntityId>
Expand description

Stage an IfcLightSourceGoniometric.

A photometrically defined luminaire: rather than a radius or a cone, it carries a measured intensity distribution, which is what a lighting calculation actually needs.

ยงErrors

Refuses an out-of-range intensity, a colour reference that is not an IfcColourRgb, a non-positive colour temperature or luminous flux (both are absolute physical measures), and an emission-source token the schema does not declare.