autopdex.geometry.normals_from_normalized_sdf
- autopdex.geometry.normals_from_normalized_sdf(x, sdf)[source]
Returns a smooth vector field that equals the surface normals where the normalized smooth distance function sdf equals 0
- Parameters:
x (jnp.ndarray) – The position at which the vector field shall be evaluated
sdf (callable) – The normalized smooth distance function with argument x
- Returns:
jnp.ndarray