autopdex.geometry.select_in_sdfs

autopdex.geometry.select_in_sdfs(x, sdf_fun)[source]

Select the indices of points that 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.

Returns:

Array of indices of points that lie on the surface.

Return type:

jnp.ndarray