Cylinder
Cylinder
- radius : f32
- half_height : f32
Description
A cylinder primitive centered on the origin
Functions
Function | Summary |
---|---|
base(_self) | Get the base of the cylinder as a [`Circle`] |
base_area(_self) | Get the surface area of one base of the cylinder |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
lateral_area(_self) | Get the surface area of the side of the cylinder, also known as the lateral area |
new(radius, height) | Create a new `Cylinder` from a radius and full height |