skspatial.objects.Cylinder

Methods

from_points(point_a, point_b, radius)

Instantiate a cylinder from two points and a radius.

intersect_line(line[, n_digits, infinite])

Intersect the cylinder with a 3D line.

is_point_within(point)

Check if a point is within the cylinder.

lateral_surface_area()

Return the lateral surface area of the cylinder.

length()

Return the length of the cylinder.

plot_3d(ax_3d[, n_along_axis, n_angles])

Plot a 3D cylinder.

surface_area()

Return the total surface area of the cylinder.

to_mesh([n_along_axis, n_angles])

Return coordinate matrices for the 3D surface of the cylinder.

to_points(**kwargs)

Return points on the surface of the object.

volume()

Return the volume of the cylinder.