[][src]Struct ncollide_geometry::query::algorithms::epa3::EPA3

pub struct EPA3<P: Point> { /* fields omitted */ }

The Expanding Polytope Algorithm in 3D.

Methods

impl<P: Point> EPA3<P>[src]

pub fn new() -> Self[src]

Creates a new instance of the 3D Expanding Polytope Algorithm.

pub fn project_origin<M, S, G: ?Sized>(
    &mut self,
    m: &M,
    shape: &G,
    simplex: &S
) -> P where
    S: Simplex<P>,
    G: SupportMap<P, M>, 
[src]

Projects the origin on a shape unsing the EPA algorithm.

The origin is assumed to be located inside of the shape.

Auto Trait Implementations

impl<P> Send for EPA3<P> where
    <P as EuclideanSpace>::Real: Send,
    <P as Point>::Vector: Send

impl<P> Sync for EPA3<P> where
    <P as EuclideanSpace>::Real: Sync,
    <P as Point>::Vector: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self