pub struct ManifoldSolidBrep<'m> { /* private fields */ }Expand description
IfcManifoldSolidBrep and its IfcFacetedBrep/WithVoids subtypes.
Implementations§
Source§impl<'m> ManifoldSolidBrep<'m>
impl<'m> ManifoldSolidBrep<'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 IfcManifoldSolidBrep subtype.
Sourcepub fn outer(&self) -> GeometryResult<EntityId>
pub fn outer(&self) -> GeometryResult<EntityId>
The outer boundary shell.
Sourcepub fn voids(&self) -> GeometryResult<Vec<EntityId>>
pub fn voids(&self) -> GeometryResult<Vec<EntityId>>
Interior void shells, empty unless this is an IfcFacetedBrepWithVoids.
Voids are what make a brick a hollow block. Dropping them yields a solid that is visually identical from outside and wrong by volume, so the attribute is read whenever the subtype declares it.
Trait Implementations§
Source§impl<'m> Clone for ManifoldSolidBrep<'m>
impl<'m> Clone for ManifoldSolidBrep<'m>
Source§fn clone(&self) -> ManifoldSolidBrep<'m>
fn clone(&self) -> ManifoldSolidBrep<'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 ManifoldSolidBrep<'m>
Auto Trait Implementations§
impl<'m> Freeze for ManifoldSolidBrep<'m>
impl<'m> RefUnwindSafe for ManifoldSolidBrep<'m>
impl<'m> Send for ManifoldSolidBrep<'m>
impl<'m> Sync for ManifoldSolidBrep<'m>
impl<'m> Unpin for ManifoldSolidBrep<'m>
impl<'m> UnsafeUnpin for ManifoldSolidBrep<'m>
impl<'m> UnwindSafe for ManifoldSolidBrep<'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