[−][src]Struct ncollide_geometry::shape::AnnotatedMinkowskiSum
Same as the MinkowskiSum but with a support mapping which keeps track of the original supports points from the two wrapped shapes.
G1
: type of the first object involved on the sum.G2
: type of the second object involved on the sum.
Methods
impl<'a, M, G1: ?Sized, G2: ?Sized> AnnotatedMinkowskiSum<'a, M, G1, G2>
[src]
pub fn new(
m1: &'a M,
g1: &'a G1,
m2: &'a M,
g2: &'a G2
) -> AnnotatedMinkowskiSum<'a, M, G1, G2>
[src]
m1: &'a M,
g1: &'a G1,
m2: &'a M,
g2: &'a G2
) -> AnnotatedMinkowskiSum<'a, M, G1, G2>
Builds the Minkowski sum of two shapes. Since the representation is implicit, this is done in constant time.
pub fn m1(&self) -> &'a M
[src]
The transformation matrix of the first shape of this Minkowski Sum.
pub fn m2(&self) -> &'a M
[src]
The transformation matrix of the second shape of this Minkowski Sum.
pub fn g1(&self) -> &'a G1
[src]
The first shape of this Minkowski Sum.
pub fn g2(&self) -> &'a G2
[src]
The second shape of this Minkowski Sum.
Trait Implementations
impl<'a, M: Debug + 'a, G1: Debug + ?Sized + 'a, G2: Debug + ?Sized + 'a> Debug for AnnotatedMinkowskiSum<'a, M, G1, G2>
[src]
Auto Trait Implementations
impl<'a, M, G1: ?Sized, G2: ?Sized> Send for AnnotatedMinkowskiSum<'a, M, G1, G2> where
G1: Sync,
G2: Sync,
M: Sync,
G1: Sync,
G2: Sync,
M: Sync,
impl<'a, M, G1: ?Sized, G2: ?Sized> Sync for AnnotatedMinkowskiSum<'a, M, G1, G2> where
G1: Sync,
G2: Sync,
M: Sync,
G1: Sync,
G2: Sync,
M: 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