```
pub trait Bounded2d {
// Required methods
fn aabb_2d(
&self,
translation: Vec2,
rotation: impl Into<Rotation2d>
) -> Aabb2d;
fn bounding_circle(
&self,
translation: Vec2,
rotation: impl Into<Rotation2d>
) -> BoundingCircle;
}
```

## Expand description

A trait with methods that return 2D bounded volumes for a shape

## Required Methods§

#### fn aabb_2d(&self, translation: Vec2, rotation: impl Into<Rotation2d>) -> Aabb2d

#### fn aabb_2d(&self, translation: Vec2, rotation: impl Into<Rotation2d>) -> Aabb2d

Get an axis-aligned bounding box for the shape with the given translation and rotation. The rotation is in radians, counterclockwise, with 0 meaning no rotation.

#### fn bounding_circle(
&self,
translation: Vec2,
rotation: impl Into<Rotation2d>
) -> BoundingCircle

#### fn bounding_circle( &self, translation: Vec2, rotation: impl Into<Rotation2d> ) -> BoundingCircle

Get a bounding circle for the shape The rotation is in radians, counterclockwise, with 0 meaning no rotation.

## Object Safety§

This trait is

**not**object safe.