Skip to main content

DiscreteTransformed

Trait DiscreteTransformed 

Source
pub trait DiscreteTransformed<RHS> {
    type Point: EuclideanSpace;

    // Required method
    fn intersects_transformed<T>(&self, _: &RHS, _: &T) -> bool
       where T: Transform<Self::Point>;
}
Expand description

Discrete intersection test on transformed primitive

Required Associated Types§

Source

type Point: EuclideanSpace

Point type for transformation of self

Required Methods§

Source

fn intersects_transformed<T>(&self, _: &RHS, _: &T) -> bool
where T: Transform<Self::Point>,

Intersection test for transformed self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<P, C> DiscreteTransformed<(Particle<P>, Range<P>)> for C
where C: ContinuousTransformed<Ray<P::Scalar, P, P::Diff>, Result = P, Point = P>, P: EuclideanSpace, P::Diff: InnerSpace, P::Scalar: BaseFloat,

Source§

type Point = P

Source§

impl<P, C> DiscreteTransformed<Ray<<P as EuclideanSpace>::Scalar, P, <P as EuclideanSpace>::Diff>> for C
where C: Discrete<Ray<P::Scalar, P, P::Diff>>, P: EuclideanSpace, P::Scalar: BaseFloat,

Source§

type Point = P

Source§

impl<S> DiscreteTransformed<Ray<S, Point2<S>, Vector2<S>>> for Primitive2<S>
where S: BaseFloat,

Source§

impl<S> DiscreteTransformed<Ray<S, Point3<S>, Vector3<S>>> for Primitive3<S>
where S: BaseFloat,