navigate.tools.sdf

Functions

box(p, w)

Signed distance function for a box.

ellipsoid(p, r)

Signed distance function for an ellipsoid.

sphere(p, R)

Signed distance function for a sphere.

volume_from_sdf(sdf, N[, pixel_size, ...])

Generate an (N, N, N) image from sdf.