Sphere.compute_normal#

Sphere.compute_normal(points)#

Compute the normal vector at a given point on the sphere surface.

Parameters:
pointsnp.ndarray

Points on the sphere surface with shape n x d

Returns:
np.ndarray

Normal vectors at the given points