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