Struct ncollide2d::narrow_phase::SupportMapPlaneProximityDetector
[−]
[src]
pub struct SupportMapPlaneProximityDetector { /* fields omitted */ }
Proximity detector between a plane and a shape implementing the SupportMap
trait.
Methods
impl SupportMapPlaneProximityDetector
[src]
pub fn new() -> SupportMapPlaneProximityDetector
[src]
Creates a new persistent proximity detector between a plane and a shape with a support mapping function.
Trait Implementations
impl Clone for SupportMapPlaneProximityDetector
[src]
fn clone(&self) -> SupportMapPlaneProximityDetector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Real> ProximityDetector<N> for SupportMapPlaneProximityDetector
[src]
fn update(
&mut self,
disp: &ProximityDispatcher<N>,
ma: &Isometry<N>,
a: &Shape<N>,
mb: &Isometry<N>,
b: &Shape<N>,
margin: N
) -> bool
[src]
&mut self,
disp: &ProximityDispatcher<N>,
ma: &Isometry<N>,
a: &Shape<N>,
mb: &Isometry<N>,
b: &Shape<N>,
margin: N
) -> bool
Runs the proximity detection on two objects. It is assumed that the same proximity detector (the same structure) is always used with the same pair of object. Read more
fn proximity(&self) -> Proximity
[src]
The number of collision detected during the last update.