autopdex.seeder.regular_in_psdf
- autopdex.seeder.regular_in_psdf(psdf, min, max, spacing, atol=1e-08)[source]
Generates regular seed points within a box and filters them using psdf.
- Parameters:
psdf (function) – Positive smooth distance function.
min (array) – Minimum coordinates.
max (array) – Maximum coordinates.
spacing (float) – Spacing between points.
atol (float, optional) – Absolute tolerance. Defaults to 1e-8 (no points on boundary).
- Returns:
Filtered seed points, number of seeds, and estimated region size.
- Return type:
tuple