pub struct BoxedHalfSpace<'m> { /* private fields */ }Expand description
IfcBoxedHalfSpace: a half space with a declared bounding box.
Enclosure is an IfcBoundingBox that bounds the half space, turning an
infinite operand into a finite one a kernel can actually build. The schema
additionally forbids BaseSurface from being an IfcCurveBoundedPlane
here, so the base surface really is unbounded and the box is doing all the
bounding.
The box is expressed in the coordinate system of the containing
representation, not relative to BaseSurface.
Implementations§
Source§impl<'m> BoxedHalfSpace<'m>
impl<'m> BoxedHalfSpace<'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 IfcBoxedHalfSpace.
Sourcepub fn base(&self) -> HalfSpaceSolid<'m>
pub fn base(&self) -> HalfSpaceSolid<'m>
The inherited IfcHalfSpaceSolid attributes.
Sourcepub fn enclosure(&self) -> GeometryResult<EntityId>
pub fn enclosure(&self) -> GeometryResult<EntityId>
The IfcBoundingBox reference that bounds the half space.
See crate::solid::bbox::BoundingBox for reading it.
Trait Implementations§
Source§impl<'m> Clone for BoxedHalfSpace<'m>
impl<'m> Clone for BoxedHalfSpace<'m>
impl<'m> Copy for BoxedHalfSpace<'m>
Auto Trait Implementations§
impl<'m> Freeze for BoxedHalfSpace<'m>
impl<'m> RefUnwindSafe for BoxedHalfSpace<'m>
impl<'m> Send for BoxedHalfSpace<'m>
impl<'m> Sync for BoxedHalfSpace<'m>
impl<'m> Unpin for BoxedHalfSpace<'m>
impl<'m> UnsafeUnpin for BoxedHalfSpace<'m>
impl<'m> UnwindSafe for BoxedHalfSpace<'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