distance3d.containment.sphere_aabb

distance3d.containment.sphere_aabb(center, radius)[source]

Compute axis-aligned bounding box of sphere.

Parameters:
centerarray, shape (3,)

Center of the sphere.

radiusfloat

Radius of the sphere.

Returns:
minsarray, shape (3,)

Minimum coordinates.

maxsarray, shape (3,)

Maximum coordinates.