pub struct EPA3<S> { /* private fields */ }
Expand description
EPA algorithm implementation for 3D. Only to be used in GJK
.
Trait Implementations§
Source§impl<S> EPA for EPA3<S>where
S: BaseFloat,
impl<S> EPA for EPA3<S>where
S: BaseFloat,
Source§fn process<SL, SR, TL, TR>(
&self,
simplex: &mut Vec<SupportPoint<Point3<S>>>,
left: &SL,
left_transform: &TL,
right: &SR,
right_transform: &TR,
) -> Option<Contact<Point3<S>>>
fn process<SL, SR, TL, TR>( &self, simplex: &mut Vec<SupportPoint<Point3<S>>>, left: &SL, left_transform: &TL, right: &SR, right_transform: &TR, ) -> Option<Contact<Point3<S>>>
Process the given simplex, and compute the contact point. Read more
Source§fn new_with_tolerance(
tolerance: <Self::Point as EuclideanSpace>::Scalar,
max_iterations: u32,
) -> Self
fn new_with_tolerance( tolerance: <Self::Point as EuclideanSpace>::Scalar, max_iterations: u32, ) -> Self
Create a new EPA instance with the given tolerance
Auto Trait Implementations§
impl<S> Freeze for EPA3<S>where
S: Freeze,
impl<S> RefUnwindSafe for EPA3<S>where
S: RefUnwindSafe,
impl<S> Send for EPA3<S>where
S: Send,
impl<S> Sync for EPA3<S>where
S: Sync,
impl<S> Unpin for EPA3<S>where
S: Unpin,
impl<S> UnwindSafe for EPA3<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more