Struct linestring::mint_3d::Aabb3 [−][src]
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]
T: Float + Debug + AbsDiffEq + UlpsEq,
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]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T: Copy> Copy for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T: Debug> Debug for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T: Eq> Eq for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T, IT> From<[IT; 2]> for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
IT: Copy + Into<Point3<T>>,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
IT: Copy + Into<Point3<T>>,
impl<T> From<[T; 6]> for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T: Hash> Hash for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq> PartialEq<Aabb3<T>> for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T> StructuralEq for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T> StructuralPartialEq for Aabb3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
Auto Trait Implementations
impl<T> RefUnwindSafe for Aabb3<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Aabb3<T> where
T: Send,
T: Send,
impl<T> Sync for Aabb3<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Aabb3<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Aabb3<T> where
T: UnwindSafe,
T: UnwindSafe,
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,
pub 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> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Debug + Any,
[src]
T: Copy + PartialEq<T> + Debug + Any,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,