pub struct SweptDiskSolidPolygonal<'m> { /* private fields */ }Expand description
IfcSweptDiskSolidPolygonal: a swept disk whose directrix is a polyline
with optionally filleted corners.
FilletRadius absent means sharp corners. When present the schema requires
it to be at least the disk radius, so that the fillet does not pinch the
tube shut at a corner.
Implementations§
Source§impl<'m> SweptDiskSolidPolygonal<'m>
impl<'m> SweptDiskSolidPolygonal<'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 IfcSweptDiskSolidPolygonal.
Sourcepub fn base(&self) -> SweptDiskSolid<'m>
pub fn base(&self) -> SweptDiskSolid<'m>
The inherited IfcSweptDiskSolid attributes.
Sourcepub fn fillet_radius(&self) -> Option<f64>
pub fn fillet_radius(&self) -> Option<f64>
The corner fillet radius, when corners are rounded.
Trait Implementations§
Source§impl<'m> Clone for SweptDiskSolidPolygonal<'m>
impl<'m> Clone for SweptDiskSolidPolygonal<'m>
Source§fn clone(&self) -> SweptDiskSolidPolygonal<'m>
fn clone(&self) -> SweptDiskSolidPolygonal<'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 SweptDiskSolidPolygonal<'m>
Auto Trait Implementations§
impl<'m> Freeze for SweptDiskSolidPolygonal<'m>
impl<'m> RefUnwindSafe for SweptDiskSolidPolygonal<'m>
impl<'m> Send for SweptDiskSolidPolygonal<'m>
impl<'m> Sync for SweptDiskSolidPolygonal<'m>
impl<'m> Unpin for SweptDiskSolidPolygonal<'m>
impl<'m> UnsafeUnpin for SweptDiskSolidPolygonal<'m>
impl<'m> UnwindSafe for SweptDiskSolidPolygonal<'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