Trait rapier3d::geometry::PolygonalFeatureMap[][src]

pub trait PolygonalFeatureMap: SupportMap {
    pub fn local_support_feature(
        &self,
        dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>,
        out_feature: &mut PolygonalFeature
    ); }

Trait implemented by convex shapes with features with polyhedral approximations.

Required methods

pub fn local_support_feature(
    &self,
    dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>,
    out_feature: &mut PolygonalFeature
)
[src]

Compute the support polygonal face of self towards the dir.

Loading content...

Implementors

impl PolygonalFeatureMap for Cone[src]

impl PolygonalFeatureMap for ConvexPolyhedron[src]

impl PolygonalFeatureMap for Cuboid[src]

impl PolygonalFeatureMap for Cylinder[src]

impl PolygonalFeatureMap for Segment[src]

impl PolygonalFeatureMap for Triangle[src]

Loading content...