pub struct CurveBoundedPlane<'m> { /* private fields */ }Expand description
A borrowed view of an IfcCurveBoundedPlane.
Implementations§
Source§impl<'m> CurveBoundedPlane<'m>
impl<'m> CurveBoundedPlane<'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 IfcCurveBoundedPlane.
Sourcepub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
pub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
The IfcPlane this patch lies in.
Narrower than IfcCurveBoundedSurface::BasisSurface: the schema
requires a plane here, so boundary curves are genuinely 2D.
Sourcepub fn outer_boundary_ref(&self) -> GeometryResult<EntityId>
pub fn outer_boundary_ref(&self) -> GeometryResult<EntityId>
The outline curve.
Required and unambiguous, unlike the IfcCurveBoundedSurface case.
Sourcepub fn inner_boundary_refs(&self) -> Vec<EntityId>
pub fn inner_boundary_refs(&self) -> Vec<EntityId>
The hole curves; empty when the patch is solid.
SET [0:?], so an empty set and an absent attribute mean the same
thing and neither is an error.
Trait Implementations§
Source§impl<'m> Clone for CurveBoundedPlane<'m>
impl<'m> Clone for CurveBoundedPlane<'m>
Source§fn clone(&self) -> CurveBoundedPlane<'m>
fn clone(&self) -> CurveBoundedPlane<'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 CurveBoundedPlane<'m>
Auto Trait Implementations§
impl<'m> Freeze for CurveBoundedPlane<'m>
impl<'m> RefUnwindSafe for CurveBoundedPlane<'m>
impl<'m> Send for CurveBoundedPlane<'m>
impl<'m> Sync for CurveBoundedPlane<'m>
impl<'m> Unpin for CurveBoundedPlane<'m>
impl<'m> UnsafeUnpin for CurveBoundedPlane<'m>
impl<'m> UnwindSafe for CurveBoundedPlane<'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