Trait heron::rapier_plugin::rapier2d::geometry::PolygonalFeatureMap
source · pub trait PolygonalFeatureMap: SupportMap {
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>,
out_feature: &mut PolygonalFeature
);
}
Expand description
Trait implemented by convex shapes with features with polyhedral approximations.
Required Methods
sourcefn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>,
out_feature: &mut PolygonalFeature
)
fn local_support_feature(
&self,
dir: &Unit<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>,
out_feature: &mut PolygonalFeature
)
Compute the support polygonal face of self
towards the dir
.