pub struct CurveBoundedSurface<'m> { /* private fields */ }Expand description
A borrowed view of an IfcCurveBoundedSurface.
Implementations§
Source§impl<'m> CurveBoundedSurface<'m>
impl<'m> CurveBoundedSurface<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> Self
pub fn new(id: EntityId, entity: &'m Entity) -> Self
Wrap an entity known to be an IfcCurveBoundedSurface.
Sourcepub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
pub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
The surface being bounded; any IfcSurface.
Sourcepub fn boundary_refs(&self) -> GeometryResult<Vec<EntityId>>
pub fn boundary_refs(&self) -> GeometryResult<Vec<EntityId>>
The boundary curves, at least one.
These are IfcBoundaryCurve entities, so
crate::curve::CompositeCurve::is_outer_boundary can tell an
IfcOuterBoundaryCurve from a plain one – which is how the outline is
identified when Self::implicit_outer is false.
Sourcepub fn implicit_outer(&self) -> bool
pub fn implicit_outer(&self) -> bool
Is the outer boundary the surface’s own natural extent?
When true, every member of Boundaries is a hole and none is the
outline. Defaults to false when absent, matching the more common and
more conservative reading: an explicit outline is expected among the
boundaries.
Trait Implementations§
Source§impl<'m> Clone for CurveBoundedSurface<'m>
impl<'m> Clone for CurveBoundedSurface<'m>
impl<'m> Copy for CurveBoundedSurface<'m>
Auto Trait Implementations§
impl<'m> Freeze for CurveBoundedSurface<'m>
impl<'m> RefUnwindSafe for CurveBoundedSurface<'m>
impl<'m> Send for CurveBoundedSurface<'m>
impl<'m> Sync for CurveBoundedSurface<'m>
impl<'m> Unpin for CurveBoundedSurface<'m>
impl<'m> UnsafeUnpin for CurveBoundedSurface<'m>
impl<'m> UnwindSafe for CurveBoundedSurface<'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