pub fn create_light_distribution_data(
tx: &mut Transaction,
schema: &Schema,
main_plane_angle: f64,
secondary_plane_angles: &[f64],
luminous_intensities: &[f64],
) -> StyleResult<EntityId>Expand description
Stage an IfcLightDistributionData: one row of a photometric
table.
A row fixes a main-plane angle and gives the intensity at each secondary angle. The two lists are read in parallel, so a row whose lengths disagree silently pairs an angle with the wrong intensity. That is checked here rather than left to the reader.
ยงErrors
Refuses empty lists (both are LIST [1:?]), lists of differing
length, and non-finite values.