skspatial.objects.Cylinder.lateral_surface_area

Cylinder.lateral_surface_area() float64[source]

Return the lateral surface area of the cylinder.

Returns:
np.float64

Lateral surface area of the cylinder.

Examples

>>> from skspatial.objects import Cylinder
>>> Cylinder([0, 0, 0], [0, 0, 1], 1).lateral_surface_area().round(3)
6.283
>>> Cylinder([0, 0, 0], [0, 0, 1], 2).lateral_surface_area().round(3)
12.566
>>> Cylinder([0, 0, 0], [0, 0, 2], 2).lateral_surface_area().round(3)
25.133