[−][src]Type Definition collision::Line2
type Line2<S> = Line<S, Vector2<S>, Point2<S>>;
2D directed line segment
Trait Implementations
impl<S: BaseFloat> Continuous<Ray<S, Point2<S>, Vector2<S>>> for Line2<S>
[src]
type Result = Point2<S>
Result returned by the intersection test
fn intersection(&self, ray: &Ray2<S>) -> Option<Self::Result>
[src]
impl<S: BaseFloat> Discrete<Ray<S, Point2<S>, Vector2<S>>> for Line2<S>
[src]
fn intersects(&self, ray: &Ray2<S>) -> bool
[src]
impl<S> ComputeBound<Aabb2<S>> for Line2<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn compute_bound(&self) -> Aabb2<S>
[src]
impl<S> Primitive for Line2<S> where
S: BaseFloat,
[src]
S: BaseFloat,