Type Definition collision::Ray2
[−]
[src]
type Ray2<S> = Ray<S, Point2<S>, Vector2<S>>;
2D ray
Trait Implementations
impl<S: BaseFloat> Continuous<Line2<S>> for Ray2<S>
[src]
Determines if an intersection between a ray and a line segment is found.
type Result = Point2<S>
Result returned by the intersection test
fn intersection(&self, line: &Line2<S>) -> Option<Point2<S>>
[src]
Intersection test
impl<S: BaseFloat> Continuous<Aabb2<S>> for Ray2<S>
[src]
type Result = Point2<S>
Result returned by the intersection test
fn intersection(&self, aabb: &Aabb2<S>) -> Option<Point2<S>>
[src]
Intersection test
impl<S: BaseFloat> Discrete<Aabb2<S>> for Ray2<S>
[src]
fn intersects(&self, aabb: &Aabb2<S>) -> bool
[src]
Intersection test