pub struct SweptAreaSolid<'m> { /* private fields */ }Expand description
The abstract IfcSweptAreaSolid view: profile plus optional placement.
Constructible over any subtype, because the inherited slots sit at the same absolute positions in all of them. That is what lets a caller read the profile of an extrusion, a revolution or a tapered sweep uniformly.
Implementations§
Source§impl<'m> SweptAreaSolid<'m>
impl<'m> SweptAreaSolid<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> Self
pub fn new(id: EntityId, entity: &'m Entity) -> Self
Wrap an entity assumed to be an IfcSweptAreaSolid subtype.
Sourcepub fn swept_area(&self) -> GeometryResult<EntityId>
pub fn swept_area(&self) -> GeometryResult<EntityId>
The IfcProfileDef reference giving the cross section.
Stays a reference: IfcProfileDef families are read by
crate::describe_profile, the one owner of profile semantics, so
this crate does not define a second, competing profile view.
Trait Implementations§
Source§impl<'m> Clone for SweptAreaSolid<'m>
impl<'m> Clone for SweptAreaSolid<'m>
Source§fn clone(&self) -> SweptAreaSolid<'m>
fn clone(&self) -> SweptAreaSolid<'m>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'m> Copy for SweptAreaSolid<'m>
Auto Trait Implementations§
impl<'m> Freeze for SweptAreaSolid<'m>
impl<'m> RefUnwindSafe for SweptAreaSolid<'m>
impl<'m> Send for SweptAreaSolid<'m>
impl<'m> Sync for SweptAreaSolid<'m>
impl<'m> Unpin for SweptAreaSolid<'m>
impl<'m> UnsafeUnpin for SweptAreaSolid<'m>
impl<'m> UnwindSafe for SweptAreaSolid<'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