[−][src]Struct rust_3d::BoxUnaligned3D
Not axis aligned Box in 3D space
Fields
center: Point3D
y_dir: Norm3D
z_dir: Norm3D
size: [Positive; 3]
Implementations
impl BoxUnaligned3D
[src]
pub fn new_from_bb(bb: &BoundingBox3D) -> Self
[src]
pub fn new_from_z_rotation<P>(
center: &P,
size: [Positive; 3],
rotation: f64
) -> Self where
P: Is3D,
[src]
center: &P,
size: [Positive; 3],
rotation: f64
) -> Self where
P: Is3D,
pub fn x_dir(&self) -> Norm3D
[src]
Trait Implementations
impl Clone for BoxUnaligned3D
[src]
fn clone(&self) -> BoxUnaligned3D
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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),
Auto Trait Implementations
impl RefUnwindSafe for BoxUnaligned3D
impl Send for BoxUnaligned3D
impl Sync for BoxUnaligned3D
impl Unpin for BoxUnaligned3D
impl UnwindSafe for BoxUnaligned3D
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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 = Infallible
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>,