pub struct RightCircularCone<'m> { /* private fields */ }Expand description
IfcRightCircularCone: a cone standing on the placement XY plane.
The base circle is centred on the placement origin (unlike
Block), and the apex is at Height along +Z. There is no top
radius: this is always a full cone, never a frustum.
Implementations§
Source§impl<'m> RightCircularCone<'m>
impl<'m> RightCircularCone<'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 of this primitive’s type.
Sourcepub fn base(&self) -> CsgPrimitive3D<'m>
pub fn base(&self) -> CsgPrimitive3D<'m>
The inherited IfcCsgPrimitive3D attributes.
Sourcepub fn height(&self) -> GeometryResult<f64>
pub fn height(&self) -> GeometryResult<f64>
Height, apex height above the base plane.
Sourcepub fn bottom_radius(&self) -> GeometryResult<f64>
pub fn bottom_radius(&self) -> GeometryResult<f64>
BottomRadius, radius of the base circle.
Trait Implementations§
Source§impl<'m> Clone for RightCircularCone<'m>
impl<'m> Clone for RightCircularCone<'m>
Source§fn clone(&self) -> RightCircularCone<'m>
fn clone(&self) -> RightCircularCone<'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 RightCircularCone<'m>
Auto Trait Implementations§
impl<'m> Freeze for RightCircularCone<'m>
impl<'m> RefUnwindSafe for RightCircularCone<'m>
impl<'m> Send for RightCircularCone<'m>
impl<'m> Sync for RightCircularCone<'m>
impl<'m> Unpin for RightCircularCone<'m>
impl<'m> UnsafeUnpin for RightCircularCone<'m>
impl<'m> UnwindSafe for RightCircularCone<'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