[−][src]Struct rust_3d::BoxUnaligned3D
Not axis aligned Box in 3D space
Fields
center: Point3Dy_dir: [f64; 3]z_dir: [f64; 3]size: [f64; 3]Methods
impl BoxUnaligned3D[src]
pub fn new_from_bb(bb: &BoundingBox3D) -> Self[src]
pub fn new_from_z_rotation<P>(center: &P, size: [f64; 3], rotation: f64) -> Self where
P: Is3D, [src]
P: Is3D,
pub fn x_dir(&self) -> [f64; 3][src]
Trait Implementations
impl HasBoundingBox3D for BoxUnaligned3D[src]
fn bounding_box(&self) -> BoundingBox3D[src]
impl HasBoundingBox3DMaybe for BoxUnaligned3D[src]
fn bounding_box_maybe(&self) -> Result<BoundingBox3D>[src]
impl IsMovable3D for BoxUnaligned3D[src]
impl IsSATObject for BoxUnaligned3D[src]
fn for_each_point<F>(&self, f: &mut F) where
F: FnMut(&Point3D), [src]
F: FnMut(&Point3D),
fn for_each_axis<F>(&self, f: &mut F) where
F: FnMut(&Norm3D), [src]
F: FnMut(&Norm3D),
impl Clone for BoxUnaligned3D[src]
fn clone(&self) -> BoxUnaligned3D[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl Send for BoxUnaligned3D
impl Sync for BoxUnaligned3D
impl Unpin for BoxUnaligned3D
impl UnwindSafe for BoxUnaligned3D
impl RefUnwindSafe for BoxUnaligned3D
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,