Trait heron::rapier_plugin::rapier::ncollide::shape::DeformableShape [−][src]
Trait implemented by deformable shapes.
Required methods
pub fn deformations_type(&self) -> DeformationsType
[src]
The type of degrees of freedom this shape has.
pub fn set_deformations(&mut self, coords: &[N])
[src]
Updates some the degrees of freedom of this shape. Updates all the degrees of freedom of this shape.
pub fn update_local_approximation(
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)
[src]
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)
Updates the given local approximation of this shape.
Implementors
impl<N> DeformableShape<N> for Polyline<N> where
N: RealField,
[src]
N: RealField,
pub fn deformations_type(&self) -> DeformationsType
[src]
pub fn set_deformations(&mut self, coords: &[N])
[src]
Updates all the degrees of freedom of this shape.
pub fn update_local_approximation(
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)
[src]
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)
impl<N> DeformableShape<N> for TriMesh<N> where
N: RealField,
[src]
N: RealField,
pub fn deformations_type(&self) -> DeformationsType
[src]
pub fn set_deformations(&mut self, coords: &[N])
[src]
Updates all the degrees of freedom of this shape.
pub fn update_local_approximation(
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)
[src]
&self,
coords: &[N],
approx: &mut LocalShapeApproximation<N>
)