autopdex.geometry.sdf_cylinder_extruded
- autopdex.geometry.sdf_cylinder_extruded(x, x_0, normal, radius, length, t0, t1)[source]
Normalized signed smooth distance function of a cylinder that is extruded in time (fourth dimension).
- Parameters:
x (jnp.ndarray) – The point where the distance is evaluated.
x_0 (jnp.ndarray) – The starting point on the center line of the cylinder.
normal (jnp.ndarray) – The direction vector of the cylinder.
radius (float) – The radius of the cylinder.
length (float) – The length of the cylinder.
t0 (float) – The starting time of the extrusion.
t1 (float) – The ending time of the extrusion.
- Returns:
The signed distance from the point x to the extruded cylinder.
- Return type:
float