Struct linestring::mint_3d::Aabb3[][src]

pub struct Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
{ /* fields omitted */ }

A simple 3d AABB If min_max is none the data has not been assigned yet.

Implementations

impl<T> Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

pub fn default() -> Self[src]

pub fn update_aabb(&mut self, aabb: &Aabb3<T>)[src]

pub fn update_point(&mut self, point: &Point3<T>)[src]

pub fn get_high(&self) -> Option<Point3<T>>[src]

pub fn get_low(&self) -> Option<Point3<T>>[src]

pub fn contains_aabb(&self, other: &Self) -> bool[src]

returns true if this aabb entirely contains/engulfs ‘other’ (inclusive)

pub fn contains_line(&self, line: &Line3<T>) -> bool[src]

returns true if this aabb entirely contains/engulfs a line (inclusive)

pub fn contains_point(&self, point: &Point3<T>) -> bool[src]

returns true if this aabb contains a point (inclusive)

Trait Implementations

impl<T: Clone> Clone for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T: Copy> Copy for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T: Debug> Debug for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T: Eq> Eq for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T, IT> From<[IT; 2]> for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq,
    IT: Copy + Into<Point3<T>>, 
[src]

impl<T> From<[T; 6]> for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T: Hash> Hash for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T: PartialEq> PartialEq<Aabb3<T>> for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T> StructuralEq for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

impl<T> StructuralPartialEq for Aabb3<T> where
    T: Float + Debug + AbsDiffEq + UlpsEq
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Aabb3<T> where
    T: RefUnwindSafe

impl<T> Send for Aabb3<T> where
    T: Send

impl<T> Sync for Aabb3<T> where
    T: Sync

impl<T> Unpin for Aabb3<T> where
    T: Unpin

impl<T> UnwindSafe for Aabb3<T> where
    T: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.