navigate.tools.sdf.sphere
- navigate.tools.sdf.sphere(p, R)
Signed distance function for a sphere.
- Parameters:
p (npt.ArrayLike) – (3, N) array of points on which to evaluate the sdf.
R (float) – Radius of the sphere.
- Returns:
Signed distances from p to the sphere
- Return type:
npt.ArrayLike