Trait heron::rapier_plugin::rapier::ncollide::transformation::ToTriMesh[][src]

pub trait ToTriMesh<N> where
    N: RealField
{ type DiscretizationParameter; pub fn to_trimesh(&self, i: Self::DiscretizationParameter) -> TriMesh<N>; }

Trait implemented by shapes that can be approximated by a triangle mesh.

Associated Types

Loading content...

Required methods

pub fn to_trimesh(&self, i: Self::DiscretizationParameter) -> TriMesh<N>[src]

Builds a triangle mesh from this shape.

Arguments:

  • i - the discretization parameters.
Loading content...

Implementors

impl<N> ToTriMesh<N> for Ball<N> where
    N: RealField
[src]

impl<N> ToTriMesh<N> for Capsule<N> where
    N: RealField
[src]

impl<N> ToTriMesh<N> for Cone<N> where
    N: RealField
[src]

type DiscretizationParameter = u32

impl<N> ToTriMesh<N> for Cuboid<N> where
    N: RealField
[src]

impl<N> ToTriMesh<N> for Cylinder<N> where
    N: RealField
[src]

type DiscretizationParameter = u32

impl<N> ToTriMesh<N> for HeightField<N> where
    N: RealField
[src]

impl<N> ToTriMesh<N> for Triangle<N> where
    N: RealField
[src]

Loading content...