pub struct OrientedBox {
pub centre: Point3,
pub axes: [Vec3; 3],
pub half_extents: [f64; 3],
}Expand description
A box by its centre, three unit axes and the half extents along them.
Fields§
§centre: Point3Centre.
axes: [Vec3; 3]Axes, right-handed and orthonormal up to rounding (see
BoxEvidence::orthogonality).
half_extents: [f64; 3]Half the side lengths along the axes.
Implementations§
Trait Implementations§
Source§impl Clone for OrientedBox
impl Clone for OrientedBox
Source§fn clone(&self) -> OrientedBox
fn clone(&self) -> OrientedBox
Returns a copy of the value. Read more
1.0.0 · 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 OrientedBox
impl Debug for OrientedBox
Source§impl PartialEq for OrientedBox
impl PartialEq for OrientedBox
impl Copy for OrientedBox
impl StructuralPartialEq for OrientedBox
Auto Trait Implementations§
impl Freeze for OrientedBox
impl RefUnwindSafe for OrientedBox
impl Send for OrientedBox
impl Sync for OrientedBox
impl Unpin for OrientedBox
impl UnwindSafe for OrientedBox
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