[−][src]Struct generic_octree::aabb::AABB
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
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]
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>,