Go to the source code of this file.
Packages | |
package | poisson_disk |
Contains functions for generating Poisson disk samples. | |
Functions | |
def | poisson_disk.rand |
Returns a random integer in the range [0, n-1] inclusive. | |
def | poisson_disk.sqr_dist |
The square of the distance between the given points. | |
def | poisson_disk.sqr_dist_3d |
The square of the distance between the given points. | |
def | poisson_disk.sample_poisson_uniform |
Gives a Poisson sample of points of a rectangle. | |
def | poisson_disk.sample_poisson |
Gives a Poisson sample of points of a rectangle with an arbitrary distance function between points. | |
def | poisson_disk.sample_poisson_3d |
Gives a Poisson sample of points of a box (3D rectangle). |