Trait rapier3d::geometry::PolygonalFeatureMap
source · [−]pub trait PolygonalFeatureMap: SupportMap {
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<3_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<3_usize>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>,
out_feature: &mut PolygonalFeature
)
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<3_usize>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>,
out_feature: &mut PolygonalFeature
)
Compute the support polygonal face of self
towards the dir
.