Struct ncollide3d::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]
impl SupportMapPlaneProximityDetector
pub fn new() -> SupportMapPlaneProximityDetector
[src]
pub fn new() -> SupportMapPlaneProximityDetector
Creates a new persistent proximity detector between a plane and a shape with a support mapping function.
Trait Implementations
impl Clone for SupportMapPlaneProximityDetector
[src]
impl Clone for SupportMapPlaneProximityDetector
fn clone(&self) -> SupportMapPlaneProximityDetector
[src]
fn clone(&self) -> SupportMapPlaneProximityDetector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
impl<N: Real> ProximityDetector<N> for SupportMapPlaneProximityDetector
fn update(
&mut self,
disp: &ProximityDispatcher<N>,
ma: &Isometry<N>,
a: &Shape<N>,
mb: &Isometry<N>,
b: &Shape<N>,
margin: N
) -> bool
[src]
fn update(
&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]
fn proximity(&self) -> Proximity
The number of collision detected during the last update.
Auto Trait Implementations
impl Send for SupportMapPlaneProximityDetector
impl Send for SupportMapPlaneProximityDetector
impl Sync for SupportMapPlaneProximityDetector
impl Sync for SupportMapPlaneProximityDetector