Struct ncollide2d::narrow_phase::PlaneSupportMapProximityDetector [−][src]
pub struct PlaneSupportMapProximityDetector { /* fields omitted */ }
Proximity detector between a plane and a shape implementing the SupportMap
trait.
Methods
impl PlaneSupportMapProximityDetector
[src]
impl PlaneSupportMapProximityDetector
pub fn new() -> PlaneSupportMapProximityDetector
[src]
pub fn new() -> PlaneSupportMapProximityDetector
Creates a new persistent proximity detector between a plane and a shape with a support mapping function.
Trait Implementations
impl Clone for PlaneSupportMapProximityDetector
[src]
impl Clone for PlaneSupportMapProximityDetector
fn clone(&self) -> PlaneSupportMapProximityDetector
[src]
fn clone(&self) -> PlaneSupportMapProximityDetector
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 PlaneSupportMapProximityDetector
[src]
impl<N: Real> ProximityDetector<N> for PlaneSupportMapProximityDetector
fn update(
&mut self,
_: &ProximityDispatcher<N>,
ma: &Isometry<N>,
plane: &Shape<N>,
mb: &Isometry<N>,
b: &Shape<N>,
margin: N
) -> bool
[src]
fn update(
&mut self,
_: &ProximityDispatcher<N>,
ma: &Isometry<N>,
plane: &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 PlaneSupportMapProximityDetector
impl Send for PlaneSupportMapProximityDetector
impl Sync for PlaneSupportMapProximityDetector
impl Sync for PlaneSupportMapProximityDetector