pub trait Bounded3d {
// Required methods
fn aabb_3d(&self, isometry: impl Into<Isometry3d>) -> Aabb3d;
fn bounding_sphere(&self, isometry: impl Into<Isometry3d>) -> BoundingSphere;
}
Expand description
A trait with methods that return 3D bounding volumes for a shape.
Required Methods§
sourcefn aabb_3d(&self, isometry: impl Into<Isometry3d>) -> Aabb3d
fn aabb_3d(&self, isometry: impl Into<Isometry3d>) -> Aabb3d
Get an axis-aligned bounding box for the shape translated and rotated by the given isometry.
sourcefn bounding_sphere(&self, isometry: impl Into<Isometry3d>) -> BoundingSphere
fn bounding_sphere(&self, isometry: impl Into<Isometry3d>) -> BoundingSphere
Get a bounding sphere for the shape translated and rotated by the given isometry.
Object Safety§
This trait is not object safe.