HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_RandomInCylinder () | |
WB_RandomInCylinder (final long seed) | |
WB_RandomInCylinder | setSeed (final long seed) |
WB_RandomInCylinder | setRadius (double r) |
WB_RandomInCylinder | setHeight (double h) |
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 | radius |
WB_Vector | offset |
Random generator for vectors uniformly distributed inside a cylinder with radius r and height h.
wblut.geom.WB_RandomInCylinder.WB_RandomInCylinder | ( | ) |
wblut.geom.WB_RandomInCylinder.WB_RandomInCylinder | ( | final long | seed | ) |
seed |
WB_Point wblut.geom.WB_RandomInCylinder.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomInCylinder.nextVector | ( | ) |
void wblut.geom.WB_RandomInCylinder.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomInCylinder wblut.geom.WB_RandomInCylinder.setHeight | ( | double | h | ) |
h |
WB_RandomPoint wblut.geom.WB_RandomInCylinder.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomInCylinder.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomInCylinder.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomInCylinder wblut.geom.WB_RandomInCylinder.setRadius | ( | double | r | ) |
r |
WB_RandomInCylinder wblut.geom.WB_RandomInCylinder.setSeed | ( | final long | seed | ) |
|
private |
|
private |
|
private |