Trait heron::rapier_plugin::rapier::ncollide::shape::Shape [−][src]
Trait implemented by all shapes supported by ncollide.
This allows dynamic inspection of the shape capabilities.
Required methods
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
The AABB of self
transformed by m
.
pub fn tangent_cone_contains_dir(
&self,
_feature: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
_feature: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
Check if if the feature _feature
of the i-th
subshape of self
transformed by m
has a tangent
cone that contains dir
at the point pt
.
Provided methods
pub fn local_aabb(&self) -> AABB<N>
[src]
The AABB of self
.
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
The bounding sphere of self
transformed by m
.
pub fn local_bounding_sphere(&self) -> BoundingSphere<N>
[src]
The bounding sphere of self
.
pub fn subshape_containing_feature(&self, _i: FeatureId) -> usize
[src]
Returns the id of the subshape containing the specified feature.
If several subshape contains the same feature, any one is returned.
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
The RayCast
implementation of self
.
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
The PointQuery
implementation of self
.
pub fn as_convex_polyhedron(&self) -> Option<&dyn ConvexPolyhedron<N>>
[src]
The convex polyhedron representation of self
if applicable.
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
The support mapping of self
if applicable.
pub fn as_composite_shape(&self) -> Option<&dyn CompositeShape<N>>
[src]
The composite shape representation of self
if applicable.
pub fn as_deformable_shape(&self) -> Option<&dyn DeformableShape<N>>
[src]
The deformable shape representation of self
if applicable.
pub fn as_deformable_shape_mut(&mut self) -> Option<&mut dyn DeformableShape<N>>
[src]
The mutable deformable shape representation of self
if applicable.
pub fn is_convex_polyhedron(&self) -> bool
[src]
Whether self
uses a convex polyhedron representation.
pub fn is_support_map(&self) -> bool
[src]
Whether self
uses a support-mapping based representation.
pub fn is_composite_shape(&self) -> bool
[src]
Whether self
uses a composite shape-based representation.
pub fn is_deformable_shape(&self) -> bool
[src]
Whether self
uses a composite shape-based representation.
Implementations
impl<N> dyn Shape<N> + 'static where
N: RealField,
[src]
N: RealField,
Trait for casting shapes to its exact represetation.
pub fn is_shape<T>(&self) -> bool where
T: Shape<N>,
[src]
T: Shape<N>,
Tests if this shape has a specific type T
.
pub fn as_shape<T>(&self) -> Option<&T> where
T: Shape<N>,
[src]
T: Shape<N>,
Performs the cast.
impl<N> dyn Shape<N> + 'static where
N: Any + 'static + RealField,
[src]
N: Any + 'static + RealField,
pub fn is<__T>(&self) -> bool where
__T: Shape<N>,
[src]
__T: Shape<N>,
Returns true if the trait object wraps an object of type __T
.
pub fn downcast<__T>(
self: Box<dyn Shape<N> + 'static, Global>
) -> Result<Box<__T, Global>, Box<dyn Shape<N> + 'static, Global>> where
__T: Shape<N>,
[src]
self: Box<dyn Shape<N> + 'static, Global>
) -> Result<Box<__T, Global>, Box<dyn Shape<N> + 'static, Global>> where
__T: Shape<N>,
Returns a boxed object from a boxed trait object if the underlying object is of type
__T
. Returns the original boxed trait if it isn't.
pub fn downcast_rc<__T>(
self: Rc<dyn Shape<N> + 'static>
) -> Result<Rc<__T>, Rc<dyn Shape<N> + 'static>> where
__T: Shape<N>,
[src]
self: Rc<dyn Shape<N> + 'static>
) -> Result<Rc<__T>, Rc<dyn Shape<N> + 'static>> where
__T: Shape<N>,
Returns an Rc
-ed object from an Rc
-ed trait object if the underlying object is of
type __T
. Returns the original Rc
-ed trait if it isn't.
pub fn downcast_ref<__T>(&self) -> Option<&__T> where
__T: Shape<N>,
[src]
__T: Shape<N>,
Returns a reference to the object within the trait object if it is of type __T
, or
None
if it isn't.
pub fn downcast_mut<__T>(&mut self) -> Option<&mut __T> where
__T: Shape<N>,
[src]
__T: Shape<N>,
Returns a mutable reference to the object within the trait object if it is of type
__T
, or None
if it isn't.
Trait Implementations
impl<N> AsRef<dyn Shape<N> + 'static> for ShapeHandle<N> where
N: RealField,
[src]
N: RealField,
impl<N> HasBoundingVolume<N, AABB<N>> for dyn Shape<N> + 'static where
N: RealField,
[src]
N: RealField,
pub fn bounding_volume(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> AABB<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> AABB<N>
pub fn local_bounding_volume(&self) -> AABB<N>
[src]
impl<N> HasBoundingVolume<N, BoundingSphere<N>> for dyn Shape<N> + 'static where
N: RealField,
[src]
N: RealField,
pub fn bounding_volume(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn local_bounding_volume(&self) -> BoundingSphere<N>
[src]
impl<N> PointQuery<N> for dyn Shape<N> + 'static where
N: RealField,
[src]
N: RealField,
pub fn project_point(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>,
solid: bool
) -> PointProjection<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>,
solid: bool
) -> PointProjection<N>
pub fn project_point_with_feature(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>
) -> (PointProjection<N>, FeatureId)
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>
) -> (PointProjection<N>, FeatureId)
pub fn distance_to_point(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>,
solid: bool
) -> N
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>,
solid: bool
) -> N
pub fn contains_point(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>
) -> bool
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
pt: &Point<N, U3>
) -> bool
impl<N> RayCast<N> for dyn Shape<N> + 'static where
N: RealField,
[src]
N: RealField,
pub fn toi_with_ray(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<N>
pub fn toi_and_normal_with_ray(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<RayIntersection<N>>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<RayIntersection<N>>
pub fn toi_and_normal_and_uv_with_ray(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<RayIntersection<N>>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N,
solid: bool
) -> Option<RayIntersection<N>>
pub fn intersects_ray(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N
) -> bool
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
ray: &Ray<N>,
max_toi: N
) -> bool
Implementors
impl<N> Shape<N> for Ball<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
FeatureId,
&Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
&Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
FeatureId,
&Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
&Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for Capsule<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
FeatureId,
&Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
&Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
FeatureId,
&Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
&Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for Compound<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_composite_shape(&self) -> Option<&dyn CompositeShape<N>>
[src]
pub fn is_composite_shape(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
pub fn subshape_containing_feature(&self, feature: FeatureId) -> usize
[src]
impl<N> Shape<N> for ConvexHull<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn as_convex_polyhedron(&self) -> Option<&dyn ConvexPolyhedron<N>>
[src]
pub fn is_convex_polyhedron(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for Cuboid<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn as_convex_polyhedron(&self) -> Option<&dyn ConvexPolyhedron<N>>
[src]
pub fn is_convex_polyhedron(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for HeightField<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn tangent_cone_contains_dir(
&self,
_fid: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
_fid: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
pub fn subshape_containing_feature(&self, _id: FeatureId) -> usize
[src]
impl<N> Shape<N> for Plane<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn tangent_cone_contains_dir(
&self,
FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for Polyline<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_composite_shape(&self) -> Option<&dyn CompositeShape<N>>
[src]
pub fn is_composite_shape(&self) -> bool
[src]
pub fn as_deformable_shape(&self) -> Option<&dyn DeformableShape<N>>
[src]
pub fn as_deformable_shape_mut(&mut self) -> Option<&mut dyn DeformableShape<N>>
[src]
pub fn is_deformable_shape(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
_feature: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
_feature: FeatureId,
_m: &Isometry<N, U3, Unit<Quaternion<N>>>,
_deformations: Option<&[N]>,
_dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
pub fn subshape_containing_feature(&self, id: FeatureId) -> usize
[src]
impl<N> Shape<N> for Segment<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn as_convex_polyhedron(&self) -> Option<&dyn ConvexPolyhedron<N>>
[src]
pub fn is_convex_polyhedron(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
impl<N> Shape<N> for TriMesh<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_composite_shape(&self) -> Option<&dyn CompositeShape<N>>
[src]
pub fn is_composite_shape(&self) -> bool
[src]
pub fn as_deformable_shape(&self) -> Option<&dyn DeformableShape<N>>
[src]
pub fn as_deformable_shape_mut(&mut self) -> Option<&mut dyn DeformableShape<N>>
[src]
pub fn is_deformable_shape(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
fid: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
deformations: Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
fid: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
deformations: Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
pub fn subshape_containing_feature(&self, id: FeatureId) -> usize
[src]
impl<N> Shape<N> for Triangle<N> where
N: RealField,
[src]
N: RealField,
pub fn aabb(&self, m: &Isometry<N, U3, Unit<Quaternion<N>>>) -> AABB<N>
[src]
pub fn local_aabb(&self) -> AABB<N>
[src]
pub fn bounding_sphere(
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
[src]
&self,
m: &Isometry<N, U3, Unit<Quaternion<N>>>
) -> BoundingSphere<N>
pub fn as_ray_cast(&self) -> Option<&dyn RayCast<N>>
[src]
pub fn as_point_query(&self) -> Option<&dyn PointQuery<N>>
[src]
pub fn as_support_map(&self) -> Option<&dyn SupportMap<N>>
[src]
pub fn is_support_map(&self) -> bool
[src]
pub fn as_convex_polyhedron(&self) -> Option<&dyn ConvexPolyhedron<N>>
[src]
pub fn is_convex_polyhedron(&self) -> bool
[src]
pub fn tangent_cone_contains_dir(
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool
[src]
&self,
feature: FeatureId,
m: &Isometry<N, U3, Unit<Quaternion<N>>>,
Option<&[N]>,
dir: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> bool