HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_RandomBox () | |
WB_RandomBox (final long seed) | |
WB_RandomBox | setSeed (final long seed) |
WB_RandomBox | setSize (double X, double Y, double Z) |
WB_Point | nextPoint () |
WB_Vector | nextVector () |
void | reset () |
WB_RandomPoint | setOffset (WB_Coord offset) |
WB_RandomPoint | setOffset (double x, double y) |
WB_RandomPoint | setOffset (double x, double y, double z) |
Private Attributes | |
final WB_MTRandom | randomGen |
double | X |
WB_Vector | offset |
Random generator for vectors uniformly distributed in the halfopen box [-X/2,-Y/2,-Z/2]-(X/2,Y/2,Z/2).
wblut.geom.WB_RandomBox.WB_RandomBox | ( | ) |
wblut.geom.WB_RandomBox.WB_RandomBox | ( | final long | seed | ) |
seed |
WB_Point wblut.geom.WB_RandomBox.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomBox.nextVector | ( | ) |
void wblut.geom.WB_RandomBox.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomBox.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomBox.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomBox.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomBox wblut.geom.WB_RandomBox.setSeed | ( | final long | seed | ) |
WB_RandomBox wblut.geom.WB_RandomBox.setSize | ( | double | X, |
double | Y, | ||
double | Z | ||
) |
X | |
Y | |
Z |
|
private |
|
private |
|
private |