pub struct Placement {
pub axes: [P3; 3],
pub origin: P3,
}Expand description
A rigid motion, as an assembly places a part: p -> origin + axes p.
Fields§
§axes: [P3; 3]The images of the unit vectors: the columns of the rotation.
origin: P3Implementations§
Trait Implementations§
impl Copy for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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