pub struct MaterialProfileGeometry<'m> { /* private fields */ }Expand description
Geometry-only projection of IfcMaterialProfile.
Implementations§
Source§impl<'m> MaterialProfileGeometry<'m>
impl<'m> MaterialProfileGeometry<'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 profile_id(self) -> GeometryResult<EntityId>
pub fn profile_id(self) -> GeometryResult<EntityId>
The Profile reference.
Sourcepub fn offset_values(self) -> GeometryResult<Option<[f64; 2]>>
pub fn offset_values(self) -> GeometryResult<Option<[f64; 2]>>
The authored offset pair.
Trait Implementations§
Source§impl<'m> Clone for MaterialProfileGeometry<'m>
impl<'m> Clone for MaterialProfileGeometry<'m>
impl<'m> Copy for MaterialProfileGeometry<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialProfileGeometry<'m>
impl<'m> RefUnwindSafe for MaterialProfileGeometry<'m>
impl<'m> Send for MaterialProfileGeometry<'m>
impl<'m> Sync for MaterialProfileGeometry<'m>
impl<'m> Unpin for MaterialProfileGeometry<'m>
impl<'m> UnsafeUnpin for MaterialProfileGeometry<'m>
impl<'m> UnwindSafe for MaterialProfileGeometry<'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