Trait ncollide_transformation::ToTriMesh
[−]
[src]
pub trait ToTriMesh<P: Point, I> { fn to_trimesh(&self, i: I) -> TriMesh<P>; }
Trait implemented by shapes that can be approximated by a triangle mesh.
Required Methods
fn to_trimesh(&self, i: I) -> TriMesh<P>
Implementors
impl<N: Scalar> ToTriMesh<Pnt3<N>, (u32, u32)> for Ball3<N>
impl<N: Scalar> ToTriMesh<Pnt3<N>, (u32, u32)> for Capsule3<N>
impl<N: Scalar> ToTriMesh<Pnt3<N>, u32> for Cone3<N>
impl<N: Scalar> ToTriMesh<Pnt3<N>, ()> for Cuboid3<N>
impl<N: Scalar> ToTriMesh<Pnt3<N>, u32> for Cylinder3<N>
impl<N: Scalar> ToTriMesh<Pnt3<N>, ()> for TriMesh3<N>
impl<'a, P, M1, G1, G2, A, B> ToTriMesh<P, (A, B)> for MinkowskiSum<'a, M1, G1, G2> where P: Point, P::Vect: Translate<P> + Outer + Mul<P::Vect::OuterProductType, Output=P::Vect>, G1: ToTriMesh<P, A>, G2: ToTriMesh<P, B>, P::Vect::OuterProductType: EigenQR<P::Vect::Scalar, P::Vect> + Mul<P, Output=P> + Add<P::Vect::OuterProductType, Output=P::Vect::OuterProductType> + Zero + Copy
impl<'a, P, G: ToTriMesh<P, I>, I> ToTriMesh<P, I> for Reflection<'a, G> where P: Point
impl<N: Scalar> ToTriMesh<Pnt3<N>, ()> for Triangle3<N>