navigate.tools.sdf.box
- navigate.tools.sdf.box(p, w)
Signed distance function for a box.
- Parameters:
p (npt.ArrayLike) – (3, N) array of points on which to evaluate the sdf.
w (tuple) – (3,) tuple of box half widths
- Returns:
Signed distances from p to the box
- Return type:
npt.ArrayLike