pub struct MaterialLayerSetUsageGeometry<'m> { /* private fields */ }Expand description
Geometry-only projection of IfcMaterialLayerSetUsage.
Implementations§
Source§impl<'m> MaterialLayerSetUsageGeometry<'m>
impl<'m> MaterialLayerSetUsageGeometry<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> GeometryResult<Self>
pub fn new(id: EntityId, entity: &'m Entity) -> GeometryResult<Self>
Borrows entity, checking it declares the expected IFC type.
Sourcepub fn layer_set_id(self) -> GeometryResult<EntityId>
pub fn layer_set_id(self) -> GeometryResult<EntityId>
The ForLayerSet reference.
Sourcepub fn layer_set_direction(self) -> GeometryResult<LayerSetDirection>
pub fn layer_set_direction(self) -> GeometryResult<LayerSetDirection>
The LayerSetDirection.
Sourcepub fn direction_sense(self) -> GeometryResult<DirectionSense>
pub fn direction_sense(self) -> GeometryResult<DirectionSense>
The DirectionSense.
Sourcepub fn offset_from_reference_line(self) -> GeometryResult<f64>
pub fn offset_from_reference_line(self) -> GeometryResult<f64>
The OffsetFromReferenceLine distance.
Sourcepub fn reference_extent(self) -> GeometryResult<Option<f64>>
pub fn reference_extent(self) -> GeometryResult<Option<f64>>
The ReferenceExtent, when authored. Must be positive.
Trait Implementations§
Source§impl<'m> Clone for MaterialLayerSetUsageGeometry<'m>
impl<'m> Clone for MaterialLayerSetUsageGeometry<'m>
impl<'m> Copy for MaterialLayerSetUsageGeometry<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialLayerSetUsageGeometry<'m>
impl<'m> RefUnwindSafe for MaterialLayerSetUsageGeometry<'m>
impl<'m> Send for MaterialLayerSetUsageGeometry<'m>
impl<'m> Sync for MaterialLayerSetUsageGeometry<'m>
impl<'m> Unpin for MaterialLayerSetUsageGeometry<'m>
impl<'m> UnsafeUnpin for MaterialLayerSetUsageGeometry<'m>
impl<'m> UnwindSafe for MaterialLayerSetUsageGeometry<'m>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more