Sphere.from_point_and_radius

classmethod Sphere.from_point_and_radius(point, radius)[source]

Construct a sphere from a point and a radius.

Parameters:
pointcompas.geometry.Point

The center of the sphere.

radiusfloat

The radius of the sphere.

Returns:
compas.geometry.Sphere

The constructed sphere.