Struct mgf::ContactPruner[][src]

pub struct ContactPruner<Params = DefaultPruningParams> where
    Params: PruningParams
{ /* fields omitted */ }

Structure for pruning unnecessary contact points.

Methods

impl<Params: PruningParams> ContactPruner<Params>
[src]

Determines if the contact given is far away from all of the current contact points stored in the Manifold, and if it is pushes it into the vec. If two contact points are too close to each other, the furthest from the center of the geometries is chosen.

Trait Implementations

impl<P: PruningParams> From<ContactPruner<P>> for Manifold
[src]

Performs the conversion.

Auto Trait Implementations

impl<Params> Send for ContactPruner<Params> where
    Params: Send

impl<Params> Sync for ContactPruner<Params> where
    Params: Sync