pub struct RectangularPyramid<'m> { /* private fields */ }Expand description
IfcRectangularPyramid: a pyramid on a rectangular base.
The base rectangle’s corner is at the placement origin, extending
along +X and +Y; the apex sits above the base centre at Height.
Implementations§
Source§impl<'m> RectangularPyramid<'m>
impl<'m> RectangularPyramid<'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 x_length(&self) -> GeometryResult<f64>
pub fn x_length(&self) -> GeometryResult<f64>
XLength, base extent along the placement’s X axis.
Sourcepub fn y_length(&self) -> GeometryResult<f64>
pub fn y_length(&self) -> GeometryResult<f64>
YLength, base extent along the placement’s Y axis.
Sourcepub fn height(&self) -> GeometryResult<f64>
pub fn height(&self) -> GeometryResult<f64>
Height, apex height above the base plane.
Trait Implementations§
Source§impl<'m> Clone for RectangularPyramid<'m>
impl<'m> Clone for RectangularPyramid<'m>
impl<'m> Copy for RectangularPyramid<'m>
Auto Trait Implementations§
impl<'m> Freeze for RectangularPyramid<'m>
impl<'m> RefUnwindSafe for RectangularPyramid<'m>
impl<'m> Send for RectangularPyramid<'m>
impl<'m> Sync for RectangularPyramid<'m>
impl<'m> Unpin for RectangularPyramid<'m>
impl<'m> UnsafeUnpin for RectangularPyramid<'m>
impl<'m> UnwindSafe for RectangularPyramid<'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