[][src]Struct ncollide_geometry::query::algorithms::JohnsonSimplex

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

Simplex using the Johnson subalgorithm to compute the projection of the origin on the simplex.

Methods

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

pub fn new(recursion: Arc<Vec<JohnsonSimplexTemplate>>) -> JohnsonSimplex<P>[src]

Creates a new, empty, Johnson simplex.

pub fn new_w_tls() -> JohnsonSimplex<P>[src]

Creates a new, empty Johnson simplex. The recursion template uses the thread-local one.

Trait Implementations

impl<P: Point> Simplex<P> for JohnsonSimplex<P>[src]

impl<P: Clone + Point> Clone for JohnsonSimplex<P> where
    P::Real: Clone
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<P> Send for JohnsonSimplex<P> where
    <P as EuclideanSpace>::Real: Send

impl<P> Sync for JohnsonSimplex<P> where
    <P as EuclideanSpace>::Real: Sync

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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