skspatial.objects.Sphere

Methods

best_fit(points)

Return the sphere of best fit for a set of 3D points.

intersect_line(line)

Intersect the sphere with a line.

plot_3d(ax_3d[, n_angles])

Plot the sphere in 3D.

surface_area()

Return the surface area of the sphere.

to_mesh([n_angles])

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

to_points(**kwargs)

Return points on the surface of the object.

volume()

Return the volume of the sphere.