distance3d.geometry.support_function_sphere

distance3d.geometry.support_function_sphere(search_direction, center, radius)[source]

Compute extreme point of box along a direction.

You can find similar implementations here:

Parameters:
search_directionarray, shape (3,)

Search direction.

centerarray, shape (3,)

Center of the sphere.

radiusfloat

Radius of the sphere.

Returns:
extreme_pointarray, shape (3,)

Extreme point along search direction.