pub struct FaceBound<'m> { /* private fields */ }Expand description
IfcFaceBound and its IfcFaceOuterBound subtype.
Implementations§
Source§impl<'m> FaceBound<'m>
impl<'m> FaceBound<'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 IfcFaceBound subtype.
Sourcepub fn bound(&self) -> GeometryResult<EntityId>
pub fn bound(&self) -> GeometryResult<EntityId>
The bounding IfcLoop.
Sourcepub fn orientation(&self) -> GeometryResult<bool>
pub fn orientation(&self) -> GeometryResult<bool>
Whether the loop orientation agrees with the face normal.
.F. means the sense is reversed: the loop must be traversed backwards
to bound the face correctly. Defaulting a missing value to true would
silently flip such a face inside out, so absence is an error.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for FaceBound<'m>
impl<'m> RefUnwindSafe for FaceBound<'m>
impl<'m> Send for FaceBound<'m>
impl<'m> Sync for FaceBound<'m>
impl<'m> Unpin for FaceBound<'m>
impl<'m> UnsafeUnpin for FaceBound<'m>
impl<'m> UnwindSafe for FaceBound<'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