[][src]Struct generic_octree::aabb::AABB

pub struct AABB {
    pub orientation: Orientation,
    // some fields omitted
}

Fields

orientation: Orientation

Implementations

impl AABB[src]

pub fn new(x1: f64, y1: f64, z1: f64, x2: f64, y2: f64, z2: f64) -> Self[src]

pub fn with_orientation(self, orientation: Orientation) -> Self[src]

pub fn slice(self, plane: Plane) -> Vec<Self>[src]

pub fn explode(self, center: (f64, f64, f64)) -> Vec<Self>[src]

pub fn fit_in(&self, depth: u32, max_depth: u32) -> bool[src]

pub fn offset(self, offset: (f64, f64, f64)) -> Self[src]

pub fn normalize(self) -> Self[src]

pub fn normalize_with(self, normalization_vector: (f64, f64, f64)) -> Self[src]

Trait Implementations

impl Clone for AABB[src]

impl Debug for AABB[src]

Auto Trait Implementations

impl RefUnwindSafe for AABB

impl Send for AABB

impl Sync for AABB

impl Unpin for AABB

impl UnwindSafe for AABB

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.