#[non_exhaustive]pub struct LocalSweptSolid {
pub profile: ProfileDescription,
pub end_profile: Option<ProfileDescription>,
pub position: Option<Transform>,
pub path: LocalSweepPath,
}Expand description
A swept-area solid in its own item frame: the frame
BodyItem::item_world places, before any mapping or product placement.
Every parameter is the authored one in metres and radians, whatever scale
or mirror the item’s mappings apply. The world answer for a rigid
item_world is SweptSolid; in general it is
item_world.compose(&position).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profile: ProfileDescriptionSweptArea, in metres and radians.
end_profile: Option<ProfileDescription>EndSweptArea of a tapered sweep; None otherwise.
position: Option<Transform>The solid’s Position in the item frame, in metres; None when the
file omits it (IFC4 OPTIONAL), which is the identity. Rigid, being an
IfcAxis2Placement3D.
path: LocalSweepPathThe path the profile follows, in the Position frame.
Trait Implementations§
Source§impl Clone for LocalSweptSolid
impl Clone for LocalSweptSolid
Source§fn clone(&self) -> LocalSweptSolid
fn clone(&self) -> LocalSweptSolid
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 moreSource§impl Debug for LocalSweptSolid
impl Debug for LocalSweptSolid
Source§impl PartialEq for LocalSweptSolid
impl PartialEq for LocalSweptSolid
impl StructuralPartialEq for LocalSweptSolid
Auto Trait Implementations§
impl Freeze for LocalSweptSolid
impl RefUnwindSafe for LocalSweptSolid
impl Send for LocalSweptSolid
impl Sync for LocalSweptSolid
impl Unpin for LocalSweptSolid
impl UnsafeUnpin for LocalSweptSolid
impl UnwindSafe for LocalSweptSolid
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