HE_Mesh
5.1.2
|
Public Member Functions | |
WB_RandomSpherical () | |
WB_RandomSpherical (final long seed) | |
WB_RandomSpherical | setSeed (final long seed) |
WB_Point | nextPoint () |
WB_Vector | nextVector () |
void | reset () |
WB_RandomPoint | setOffset (final WB_Coord offset) |
WB_RandomPoint | setOffset (final double x, final double y) |
WB_RandomPoint | 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 |
Random generator for vectors uniformly distributed on a unit sphere. The coordinates returned give the angular parts of the spherical coordinates, theta and phi theta: 0-PI phi: 0-2PI
wblut.geom.WB_RandomSpherical.WB_RandomSpherical | ( | ) |
wblut.geom.WB_RandomSpherical.WB_RandomSpherical | ( | final long | seed | ) |
seed |
WB_Point wblut.geom.WB_RandomSpherical.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomSpherical.nextVector | ( | ) |
void wblut.geom.WB_RandomSpherical.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomSpherical.setOffset | ( | final WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomSpherical.setOffset | ( | final double | x, |
final double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomSpherical.setOffset | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
WB_RandomSpherical wblut.geom.WB_RandomSpherical.setSeed | ( | final long | seed | ) |
|
private |