Trait ncollide_transformation::ToPolyline
[−]
[src]
pub trait ToPolyline<P: Point, I> { fn to_polyline(&self, i: I) -> Polyline<P>; }
Trait implemented by shapes that can be approximated by a triangle mesh.
Required Methods
fn to_polyline(&self, i: I) -> Polyline<P>
Implementors
impl<N: Scalar> ToPolyline<Pnt2<N>, u32> for Ball2<N>
impl<N: Scalar> ToPolyline<Pnt2<N>, u32> for Capsule2<N>
impl<N: Scalar> ToPolyline<Pnt2<N>, ()> for Cone2<N>
impl<N: Scalar> ToPolyline<Pnt2<N>, ()> for Cuboid2<N>
impl<N: Scalar> ToPolyline<Pnt2<N>, ()> for Cylinder2<N>
impl<'a, P, M, G1, G2, A, B> ToPolyline<P, (A, B)> for MinkowskiSum<'a, M, G1, G2> where P: Point, P::Vect: Translate<P>, G1: ToPolyline<P, A>, G2: ToPolyline<P, B>
impl<'a, P, G: ToPolyline<P, I>, I> ToPolyline<P, I> for Reflection<'a, G> where P: Point
impl<N: Scalar> ToPolyline<Pnt2<N>, ()> for Segment2<N>
impl<N: Scalar> ToPolyline<Pnt2<N>, ()> for Triangle2<N>