pub trait PolygonalFeatureMap: SupportMap {
    // Required method
    fn local_support_feature(
        &self,
        dir: &Unit<Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>>,
        out_feature: &mut PolygonalFeature
    );

    // Provided method
    fn is_convex_polyhedron(&self) -> bool { ... }
}
Expand description

Trait implemented by convex shapes with features with polyhedral approximations.

Required Methods§

source

fn local_support_feature( &self, dir: &Unit<Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>>, out_feature: &mut PolygonalFeature )

Compute the support polygonal face of self towards the dir.

Provided Methods§

source

fn is_convex_polyhedron(&self) -> bool

Is this shape a ConvexPolyhedron?

Implementors§