HE_Mesh
6.0.1
|
Public Member Functions | |
WB_RandomRectangle () | |
WB_RandomRectangle (final long seed) | |
WB_RandomRectangle | setSeed (final long seed) |
WB_RandomRectangle | setSize (final double X, final double Y) |
WB_Point | nextPoint () |
WB_Vector | nextVector () |
void | reset () |
WB_RandomRectangle | setOffset (final WB_Coord offset) |
WB_RandomRectangle | setOffset (final double x, final double y) |
WB_RandomRectangle | setOffset (final double x, final double y, final double z) |
![]() | |
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 | ( | ) |
Get the next random point.
Implements wblut.geom.WB_RandomPoint.
References wblut.math.WB_MTRandom.nextCenteredDouble().
WB_Vector wblut.geom.WB_RandomRectangle.nextVector | ( | ) |
Get the next random vector.
Implements wblut.geom.WB_RandomPoint.
References wblut.math.WB_MTRandom.nextCenteredDouble().
void wblut.geom.WB_RandomRectangle.reset | ( | ) |
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setOffset | ( | final WB_Coord | offset | ) |
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setOffset | ( | final double | x, |
final double | y | ||
) |
References wblut.geom.WB_MutableCoordinate.set().
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setOffset | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
References wblut.geom.WB_MutableCoordinate.set().
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setSeed | ( | final long | seed | ) |
Set the seed for the RNG.
seed |
Implements wblut.geom.WB_RandomPoint.
References wblut.math.WB_MTRandom.setSeed().
WB_RandomRectangle wblut.geom.WB_RandomRectangle.setSize | ( | final double | X, |
final double | Y | ||
) |
|
private |
|
private |
|
private |