Random::RandomPointInsideDisk
Defined in:
Returns a random point inside a circular disk.
C4Computation.hPrototype
Point2D RandomPointInsideDisk(float radius);
Parameters
radius |
The radius of the disk. |
Description
The RandomPointInsideDisk function returns a random point inside an open circular disk with radius specified by the radius parameter. The values returned are evenly distributed over the area of the disk's interior, but will never be exactly on the boundary.
See Also
