pub struct LightIntensityDistribution<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcLightIntensityDistribution: a luminaire’s
photometric distribution, as a curve type plus its sampled data rows.
Implementations§
Source§impl<'m, 's> LightIntensityDistribution<'m, 's>
impl<'m, 's> LightIntensityDistribution<'m, 's>
Sourcepub fn light_distribution_curve(&self) -> StyleResult<&'m str>
pub fn light_distribution_curve(&self) -> StyleResult<&'m str>
The LightDistributionCurve attribute: a token from
IfcLightDistributionCurveEnum (TYPE_A, TYPE_B, TYPE_C,
NOTDEFINED).
This token is not decoration – it names which photometric convention
the angles in Self::distribution_data follow, so the same numbers
mean different directions under Type A, B, and C. A consumer that
ignores it will aim the distribution wrongly. Returned as the raw
schema token for the same reason as LightEmissionSource.
Sourcepub fn distribution_data(&self) -> StyleResult<Vec<EntityId>>
pub fn distribution_data(&self) -> StyleResult<Vec<EntityId>>
The DistributionData attribute: at least one
IfcLightDistributionData reference.
The schema declares LIST [1:?], so an empty list is a typed error
rather than an empty iterator that silently renders an unlit luminaire.