autopdex.geometry.in_sdfs
- autopdex.geometry.in_sdfs(x, sdf_fun, tol=1e-06)[source]
Check if multiple points lie on the surface defined by a positive or signed distance function.
- Parameters:
x (jnp.ndarray) – Array of points to be checked.
sdf_fun (callable) – The signed distance function.
tol (float) – The tolerance for isclose check.
- Returns:
Array of booleans indicating whether each point lies on the surface.
- Return type:
jnp.ndarray