Trait collision::Discrete
[−]
[src]
pub trait Discrete<RHS> { fn intersects(&self, _: &RHS) -> bool; }
A boolean intersection test.
Required Methods
fn intersects(&self, _: &RHS) -> bool
Intersection test
Implementors
impl<S> Discrete<Ray2<S>> for Circle<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for Cylinder<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for Capsule<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for Cuboid<S> where
S: BaseFloat,impl<P, C> Discrete<(Particle<P>, Range<P>)> for C where
C: Continuous<Ray<P::Scalar, P, P::Diff>, Result = P>,
P: EuclideanSpace,
P::Diff: InnerSpace,
P::Scalar: BaseFloat,impl<P> Discrete<Ray<P::Scalar, P, P::Diff>> for Particle<P> where
P: EuclideanSpace,
P::Diff: InnerSpace,
P::Scalar: BaseFloat,impl<S> Discrete<Ray2<S>> for ConvexPolygon<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for ConvexPolyhedron<S> where
S: BaseFloat,impl<S> Discrete<Ray2<S>> for Rectangle<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for Quad<S> where
S: BaseFloat,impl<S> Discrete<Ray3<S>> for collision::primitive::Sphere<S> where
S: BaseFloat,impl<S: BaseFloat> Discrete<Ray3<S>> for Plane<S>
impl<S: BaseFloat> Discrete<Plane<S>> for Plane<S>
impl<S: BaseFloat> Discrete<(Plane<S>, Plane<S>)> for Plane<S>
impl<S, P> Discrete<Ray<S, P, P::Diff>> for P where
S: BaseFloat,
P: EuclideanSpace<Scalar = S>,
P::Diff: InnerSpace<Scalar = S>,impl<S: BaseFloat> Discrete<Ray2<S>> for Line2<S>
impl<S: BaseFloat> Discrete<Aabb2<S>> for Ray2<S>
impl<S: BaseFloat> Discrete<Ray2<S>> for Aabb2<S>
impl<S: BaseFloat> Discrete<Aabb2<S>> for Aabb2<S>
impl<S: BaseFloat> Discrete<Aabb3<S>> for Ray3<S>
impl<S: BaseFloat> Discrete<Ray3<S>> for Aabb3<S>
impl<S: BaseFloat> Discrete<Aabb3<S>> for Aabb3<S>
impl<S: BaseFloat> Discrete<Ray3<S>> for collision::Sphere<S>
impl<S: BaseFloat> Discrete<Sphere<S>> for collision::Sphere<S>