pub struct FaceSurface<'m> { /* private fields */ }Expand description
IfcFaceSurface and its IfcAdvancedFace subtype.
Adds a support surface and a sense flag to IfcFace. SameSense says
whether the face normal agrees with the surface normal; ignoring it yields
an inside-out face that still passes every structural check.
Implementations§
Source§impl<'m> FaceSurface<'m>
impl<'m> FaceSurface<'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 IfcFaceSurface or IfcAdvancedFace.
Sourcepub fn face_surface(&self) -> GeometryResult<EntityId>
pub fn face_surface(&self) -> GeometryResult<EntityId>
The supporting surface reference.
Sourcepub fn same_sense(&self) -> bool
pub fn same_sense(&self) -> bool
Does the face normal agree with the surface normal?
Trait Implementations§
Source§impl<'m> Clone for FaceSurface<'m>
impl<'m> Clone for FaceSurface<'m>
Source§fn clone(&self) -> FaceSurface<'m>
fn clone(&self) -> FaceSurface<'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 FaceSurface<'m>
Auto Trait Implementations§
impl<'m> Freeze for FaceSurface<'m>
impl<'m> RefUnwindSafe for FaceSurface<'m>
impl<'m> Send for FaceSurface<'m>
impl<'m> Sync for FaceSurface<'m>
impl<'m> Unpin for FaceSurface<'m>
impl<'m> UnsafeUnpin for FaceSurface<'m>
impl<'m> UnwindSafe for FaceSurface<'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