Package-level declarations
Functions
Generates a random point inside the boundary of the Box using a hash-based approach.
Generates a random point within the bounds of the Circle
using a hash-based approach.
Generates a random point within the bounds of the Rectangle
using a hash-based approach.
Generates a random point within the bounds of the Triangle
using a hash-based approach.
Generates a list of random points, distributed across a list of triangles, weighted by their respective areas. The points are generated using a hash-based randomization approach.
Generates a uniformly distributed random point inside the Box
.
Generates a uniformly distributed random point within the Circle
.
Generates a uniformly distributed random point within the Rectangle
.
Generates a uniformly distributed random point within the Triangle
.
Generates a list of 2D points distributed uniformly over a collection of triangles.
Generates a uniformly distributed sub-rectangle based on random parameters within specified ranges.
Generates a uniformly distributed sub-box based on random parameters within specified ranges.