autopdex.geometry.in_sdf
- autopdex.geometry.in_sdf(x, sdf_fun, tol=1e-06)[source]
Check if a point lies on the surface defined by a positive or signed distance function.
- Parameters:
x (jnp.ndarray) – The point to be checked.
sdf_fun (callable) – The distance function.
tol (float) – The tolerance for isclose check.
- Returns:
True if the point lies on the surface, False otherwise.
- Return type:
bool