ShapeExtensionMethods
Provides extension methods for various shape/geometry classes.
Methods
Compute the area of a cone.
Compute the area of a cylinder.
Compute the area of a sphere.
Parameters:
| sphere (Sphere) | Cone. |
Returns: Area of sphere.
Compute the area of a torus.
Parameters:
| torus (Torus) | Torus. |
Returns: Area of torus.
Compute the volume of a cone.
Parameters:
| cone (Cone) | Cone. |
Returns: Volume of cone.
Compute the volume of a cylinder.
Parameters:
| cylinder (Cylinder) | Cylinder. |
Returns: Volume of cylinder.
Compute the volume of a sphere.
Parameters:
| sphere (Sphere) | Cone. |
Returns: Volume of sphere.