HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_RandomRectangle () | |
WB_RandomRectangle (final long seed) | |
WB_RandomRectangle | setSeed (final long seed) |
WB_RandomRectangle | setSize (double X, double Y) |
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 rectangle [-X/2,-Y/2]-(X/2,Y/2).
wblut.geom.WB_RandomRectangle.WB_RandomRectangle | ( | ) |
wblut.geom.WB_RandomRectangle.WB_RandomRectangle | ( | final long | seed | ) |
seed |
WB_Point wblut.geom.WB_RandomRectangle.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomRectangle.nextVector | ( | ) |
void wblut.geom.WB_RandomRectangle.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomRectangle.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomRectangle.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomRectangle.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setSeed | ( | final long | seed | ) |
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setSize | ( | double | X, |
double | Y | ||
) |
X | |
Y |
|
private |
|
private |
|
private |