autopdex.geometry.psdf_arc_in_2d
- autopdex.geometry.psdf_arc_in_2d(x, xc, x_p1, x_p2)[source]
First order normalized positive smooth distance function of a circular arc in 2D.
- Parameters:
xc (jnp.ndarray) – Center of the arc.
x_p1 (jnp.ndarray) – Start point of the arc.
x_p2 (jnp.ndarray) – End point of the arc (counter-clockwise).
- Returns:
The normalized smooth distance from the point x to the circular arc.
- Return type:
float