autopdex.geometry.select_point

autopdex.geometry.select_point(x_q, x_p1)[source]

Select the index of a point that is close to a given point (non-jittable).

Parameters:
  • x_q (jnp.ndarray) – Array of points to be checked.

  • x_p1 (jnp.ndarray) – The reference point.

Returns:

The index of the point that is close to the reference point.

Return type:

int