Annulus
Annulus
- inner_circle : bevy_math::primitives::dim2::Circle
- outer_circle : bevy_math::primitives::dim2::Circle
Description
A primitive shape formed by the region between two circles, also known as a ring.
Functions
Function | Summary |
---|---|
clone(_self) | No Documentation 🚧 |
closest_point(_self, point) | Finds the point on the annulus that is closest to the given `point`: - If the point is outside of |
diameter(_self) | Get the diameter of the annulus |
eq(_self, other) | No Documentation 🚧 |
new(inner_radius, outer_radius) | Create a new [`Annulus`] from the radii of the inner and outer circle |
thickness(_self) | Get the thickness of the annulus |