[−][src]Struct c2::GjkRunner
A builder for running the GJK algorithm
Implementations
impl<'a, ShapeA, ShapeB> GjkRunner<'a, ShapeA, ShapeB> where
ShapeA: Shape,
ShapeB: Shape,
[src]
ShapeA: Shape,
ShapeB: Shape,
pub fn new(a: &'a ShapeA, b: &'a ShapeB) -> GjkRunner<'a, ShapeA, ShapeB>
[src]
pub fn use_radius(self, use_radius: bool) -> GjkRunner<'a, ShapeA, ShapeB>
[src]
pub fn set_cache(self, cache: &'a mut GjkCache) -> GjkRunner<'a, ShapeA, ShapeB>
[src]
pub fn set_iterations(
self,
iterations: &'a mut i32
) -> GjkRunner<'a, ShapeA, ShapeB>
[src]
self,
iterations: &'a mut i32
) -> GjkRunner<'a, ShapeA, ShapeB>
pub fn run(self) -> GjkResponse
[src]
Finds the closest pair between two shapes
Auto Trait Implementations
impl<'a, ShapeA, ShapeB> RefUnwindSafe for GjkRunner<'a, ShapeA, ShapeB> where
ShapeA: RefUnwindSafe,
ShapeB: RefUnwindSafe,
ShapeA: RefUnwindSafe,
ShapeB: RefUnwindSafe,
impl<'a, ShapeA, ShapeB> Send for GjkRunner<'a, ShapeA, ShapeB> where
ShapeA: Sync,
ShapeB: Sync,
ShapeA: Sync,
ShapeB: Sync,
impl<'a, ShapeA, ShapeB> Sync for GjkRunner<'a, ShapeA, ShapeB> where
ShapeA: Sync,
ShapeB: Sync,
ShapeA: Sync,
ShapeB: Sync,
impl<'a, ShapeA, ShapeB> Unpin for GjkRunner<'a, ShapeA, ShapeB>
impl<'a, ShapeA, ShapeB> !UnwindSafe for GjkRunner<'a, ShapeA, ShapeB>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,