pub struct PresentationLayer<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcPresentationLayerAssignment (and its
IfcPresentationLayerWithStyle subtype).
Implementations§
Source§impl<'m, 's> PresentationLayer<'m, 's>
impl<'m, 's> PresentationLayer<'m, 's>
Sourcepub fn name(&self) -> StyleResult<&'m str>
pub fn name(&self) -> StyleResult<&'m str>
The Name attribute. Mandatory.
Sourcepub fn description(&self) -> StyleResult<Option<&'m str>>
pub fn description(&self) -> StyleResult<Option<&'m str>>
The Description attribute, when authored.
Sourcepub fn identifier(&self) -> StyleResult<Option<&'m str>>
pub fn identifier(&self) -> StyleResult<Option<&'m str>>
The Identifier attribute, when authored.
Sourcepub fn assigned_items(&self) -> StyleResult<Vec<EntityId>>
pub fn assigned_items(&self) -> StyleResult<Vec<EntityId>>
The AssignedItems select: the IfcRepresentations and/or
IfcRepresentationItems placed on this layer.
Sourcepub fn layer_styles(&self) -> StyleResult<Vec<EntityId>>
pub fn layer_styles(&self) -> StyleResult<Vec<EntityId>>
The LayerStyles attribute of an IfcPresentationLayerWithStyle.
Returns an empty vector when the entity has no LayerStyles slot at
all (a plain IfcPresentationLayerAssignment). On IFC2x3, resolves
through the legacy IfcPresentationStyleAssignment select and drops
IfcNullStyle.NULL members; on later schemas, reads direct
IfcPresentationStyle references.
Source§impl<'m, 's> PresentationLayer<'m, 's>
impl<'m, 's> PresentationLayer<'m, 's>
Sourcepub fn layer_on(&self) -> StyleResult<Option<bool>>
pub fn layer_on(&self) -> StyleResult<Option<bool>>
The LayerOn visibility flag, when authored.
Sourcepub fn layer_frozen(&self) -> StyleResult<Option<bool>>
pub fn layer_frozen(&self) -> StyleResult<Option<bool>>
The LayerFrozen flag, when authored.
Sourcepub fn layer_blocked(&self) -> StyleResult<Option<bool>>
pub fn layer_blocked(&self) -> StyleResult<Option<bool>>
The LayerBlocked flag, when authored.