[−][src]Struct zvxryb_broadphase::RayTestGeometry
A type implementing TestGeometry
for rays
Methods
impl<Point> RayTestGeometry<Point> where
Point: EuclideanSpace<Scalar = f32> + VecDim,
[src]
Point: EuclideanSpace<Scalar = f32> + VecDim,
pub fn with_system_bounds(
system_bounds: Bounds<Point>,
origin: Point,
direction: Point::Diff,
range_min: f32,
range_max: f32
) -> Self where
Point: Debug,
Point::Diff: ElementWise + Index<usize, Output = f32> + Debug,
[src]
system_bounds: Bounds<Point>,
origin: Point,
direction: Point::Diff,
range_min: f32,
range_max: f32
) -> Self where
Point: Debug,
Point::Diff: ElementWise + Index<usize, Output = f32> + Debug,
Construct ray test geometry
range_min
and range_max
may be infinity or negative infinity, in which case
the ray will be clamped to system bounds
Trait Implementations
impl<Point: Clone> Clone for RayTestGeometry<Point> where
Point: EuclideanSpace<Scalar = f32>,
Point::Diff: Clone,
[src]
Point: EuclideanSpace<Scalar = f32>,
Point::Diff: Clone,
fn clone(&self) -> RayTestGeometry<Point>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RayTestGeometry<Point2<f32>>
[src]
impl Debug for RayTestGeometry<Point3<f32>>
[src]
impl TestGeometry for RayTestGeometry<Point2<f32>>
[src]
type SubdivideResult = [Self; 4]
type TestOrder = [usize; 4]
fn subdivide(&self) -> Self::SubdivideResult
[src]
fn test_order(&self) -> Self::TestOrder
[src]
fn should_test(&self, nearest: f32) -> bool
[src]
impl TestGeometry for RayTestGeometry<Point3<f32>>
[src]
type SubdivideResult = [Self; 8]
type TestOrder = [usize; 8]
fn subdivide(&self) -> Self::SubdivideResult
[src]
fn test_order(&self) -> Self::TestOrder
[src]
fn should_test(&self, nearest: f32) -> bool
[src]
Auto Trait Implementations
impl<Point> RefUnwindSafe for RayTestGeometry<Point> where
Point: RefUnwindSafe,
<Point as EuclideanSpace>::Diff: RefUnwindSafe,
Point: RefUnwindSafe,
<Point as EuclideanSpace>::Diff: RefUnwindSafe,
impl<Point> Send for RayTestGeometry<Point> where
Point: Send,
<Point as EuclideanSpace>::Diff: Send,
Point: Send,
<Point as EuclideanSpace>::Diff: Send,
impl<Point> Sync for RayTestGeometry<Point> where
Point: Sync,
<Point as EuclideanSpace>::Diff: Sync,
Point: Sync,
<Point as EuclideanSpace>::Diff: Sync,
impl<Point> Unpin for RayTestGeometry<Point> where
Point: Unpin,
<Point as EuclideanSpace>::Diff: Unpin,
Point: Unpin,
<Point as EuclideanSpace>::Diff: Unpin,
impl<Point> UnwindSafe for RayTestGeometry<Point> where
Point: UnwindSafe,
<Point as EuclideanSpace>::Diff: UnwindSafe,
Point: UnwindSafe,
<Point as EuclideanSpace>::Diff: 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,
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>,