pub struct FacetedBrepWithVoids<'m> { /* private fields */ }Expand description
IfcFacetedBrepWithVoids: a faceted brep with internal cavities.
See the module docs: Voids are subtracted inner shells. They are also
each independently closed, so a void is a cavity, not a dent.
Implementations§
Source§impl<'m> FacetedBrepWithVoids<'m>
impl<'m> FacetedBrepWithVoids<'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 IfcFacetedBrepWithVoids.
Sourcepub fn base(&self) -> FacetedBrep<'m>
pub fn base(&self) -> FacetedBrep<'m>
The inherited IfcFacetedBrep attributes.
Sourcepub fn voids(&self) -> GeometryResult<Vec<EntityId>>
pub fn voids(&self) -> GeometryResult<Vec<EntityId>>
The IfcClosedShell references to subtract from the outer shell.
Never concatenate these with Outer: they are holes, not more surface.
Trait Implementations§
Source§impl<'m> Clone for FacetedBrepWithVoids<'m>
impl<'m> Clone for FacetedBrepWithVoids<'m>
Source§fn clone(&self) -> FacetedBrepWithVoids<'m>
fn clone(&self) -> FacetedBrepWithVoids<'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 FacetedBrepWithVoids<'m>
Auto Trait Implementations§
impl<'m> Freeze for FacetedBrepWithVoids<'m>
impl<'m> RefUnwindSafe for FacetedBrepWithVoids<'m>
impl<'m> Send for FacetedBrepWithVoids<'m>
impl<'m> Sync for FacetedBrepWithVoids<'m>
impl<'m> Unpin for FacetedBrepWithVoids<'m>
impl<'m> UnsafeUnpin for FacetedBrepWithVoids<'m>
impl<'m> UnwindSafe for FacetedBrepWithVoids<'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