pub struct ShellBasedSurfaceModel<'m> { /* private fields */ }Expand description
IfcShellBasedSurfaceModel: a surface described by one or more shells.
§Not a solid
SbsmBoundary is an IfcShell SELECT, so its members may be
IfcClosedShell or IfcOpenShell. Even when every shell is closed, the
entity declares a surface model, not a IfcSolidModel, and it is not a
legal boolean operand. Promoting it to a brep produces volume figures that a
quantity takeoff will happily report.
Implementations§
Source§impl<'m> ShellBasedSurfaceModel<'m>
impl<'m> ShellBasedSurfaceModel<'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 IfcShellBasedSurfaceModel.
Sourcepub fn shells(&self) -> GeometryResult<Vec<EntityId>>
pub fn shells(&self) -> GeometryResult<Vec<EntityId>>
The IfcShell references bounding the model.
Each is an IfcClosedShell or an IfcOpenShell; the caller must check
the resolved type rather than assuming either.
Trait Implementations§
Source§impl<'m> Clone for ShellBasedSurfaceModel<'m>
impl<'m> Clone for ShellBasedSurfaceModel<'m>
impl<'m> Copy for ShellBasedSurfaceModel<'m>
Auto Trait Implementations§
impl<'m> Freeze for ShellBasedSurfaceModel<'m>
impl<'m> RefUnwindSafe for ShellBasedSurfaceModel<'m>
impl<'m> Send for ShellBasedSurfaceModel<'m>
impl<'m> Sync for ShellBasedSurfaceModel<'m>
impl<'m> Unpin for ShellBasedSurfaceModel<'m>
impl<'m> UnsafeUnpin for ShellBasedSurfaceModel<'m>
impl<'m> UnwindSafe for ShellBasedSurfaceModel<'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