Trait rapier3d::geometry::SupportMap [−][src]
Traits of convex shapes representable by a support mapping function.
Parameters:
- V - type of the support mapping direction argument and of the returned point.
Required methods
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
Provided methods
pub fn local_support_point_toward(
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
Same as self.local_support_point
except that dir
is normalized.
pub fn support_point(
&self,
transform: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
transform: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn support_point_toward(
&self,
transform: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
transform: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
Same as self.support_point
except that dir
is normalized.
Implementations on Foreign Types
impl<'a, S> SupportMap for DilatedShape<'a, S> where
S: SupportMap + ?Sized,
[src]
S: SupportMap + ?Sized,
pub fn support_point(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn support_point_toward(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn local_support_point_toward(
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
impl SupportMap for ConstantPoint
[src]
pub fn support_point(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn support_point_toward(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
pub fn local_support_point(
&self,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn local_support_point_toward(
&self,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
impl SupportMap for ConstantOrigin
[src]
pub fn support_point(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn support_point_toward(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
pub fn local_support_point(
&self,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
&Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn local_support_point_toward(
&self,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
&Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
Implementors
impl SupportMap for Ball
[src]
pub fn support_point(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn support_point_toward(
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
m: &Isometry<f32, U3, Unit<Quaternion<f32>>>,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn local_support_point_toward(
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
impl SupportMap for Capsule
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
pub fn local_support_point_toward(
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
[src]
&self,
dir: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
) -> Point<f32, U3>
impl SupportMap for Cone
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl SupportMap for ConvexPolyhedron
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl SupportMap for Cuboid
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl SupportMap for Cylinder
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl SupportMap for Segment
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl SupportMap for Triangle
[src]
pub fn local_support_point(
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
[src]
&self,
dir: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
) -> Point<f32, U3>
impl<S> SupportMap for RoundShape<S> where
S: SupportMap,
[src]
S: SupportMap,