Trait rapier3d::geometry::PolygonalFeatureMap [−][src]
pub trait PolygonalFeatureMap: SupportMap {
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>,
out_feature: &mut PolygonalFeature
);
}
Expand description
Trait implemented by convex shapes with features with polyhedral approximations.
Required methods
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>,
out_feature: &mut PolygonalFeature
)
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>,
out_feature: &mut PolygonalFeature
)
Compute the support polygonal face of self
towards the dir
.