[−][src]Struct ncollide_geometry::query::algorithms::epa3::EPA3
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]
&mut self,
m: &M,
shape: &G,
simplex: &S
) -> P where
S: Simplex<P>,
G: SupportMap<P, M>,
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,
<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,
<P as EuclideanSpace>::Real: Sync,
<P as Point>::Vector: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Same for T
type Output = T
Should always be Self