HE_Mesh
5.1.2
|
Public Member Functions | |
WB_RandomPoint | setSeed (final long seed) |
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) |
Interface for random vector/point generators
WB_Point wblut.geom.WB_RandomPoint.nextPoint | ( | ) |
Get the next random point.
Implements wblut.geom.WB_PointGenerator.
Implemented in wblut.geom.WB_RandomOnCylinder, wblut.geom.WB_RandomInCylinder, wblut.geom.WB_RandomBox, wblut.geom.WB_RandomRectangle, wblut.geom.WB_RandomCircle, wblut.geom.WB_RandomCurve, wblut.geom.WB_RandomInSphere, wblut.geom.WB_RandomDisk, wblut.geom.WB_RandomOnSphere, wblut.geom.WB_RandomSegment, and wblut.geom.WB_RandomSpherical.
WB_Vector wblut.geom.WB_RandomPoint.nextVector | ( | ) |
Get the next random vector.
Implemented in wblut.geom.WB_RandomOnCylinder, wblut.geom.WB_RandomInCylinder, wblut.geom.WB_RandomBox, wblut.geom.WB_RandomCircle, wblut.geom.WB_RandomInSphere, wblut.geom.WB_RandomRectangle, wblut.geom.WB_RandomCurve, wblut.geom.WB_RandomOnSphere, wblut.geom.WB_RandomDisk, wblut.geom.WB_RandomSegment, and wblut.geom.WB_RandomSpherical.
void wblut.geom.WB_RandomPoint.reset | ( | ) |
Reset the RNG.
Implemented in wblut.geom.WB_RandomOnCylinder, wblut.geom.WB_RandomInCylinder, wblut.geom.WB_RandomBox, wblut.geom.WB_RandomInSphere, wblut.geom.WB_RandomOnSphere, wblut.geom.WB_RandomCircle, wblut.geom.WB_RandomCurve, wblut.geom.WB_RandomRectangle, wblut.geom.WB_RandomDisk, wblut.geom.WB_RandomSegment, and wblut.geom.WB_RandomSpherical.
WB_RandomPoint wblut.geom.WB_RandomPoint.setOffset | ( | WB_Coord | offset | ) |
Set point offset.
offset |
WB_RandomPoint wblut.geom.WB_RandomPoint.setOffset | ( | double | x, |
double | y | ||
) |
Set point offset.
x | |
y |
WB_RandomPoint wblut.geom.WB_RandomPoint.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set point offset.
x | |
y | |
z |
WB_RandomPoint wblut.geom.WB_RandomPoint.setSeed | ( | final long | seed | ) |
Set the seed for the RNG.
seed |
Implemented in wblut.geom.WB_RandomCurve, wblut.geom.WB_RandomOnCylinder, wblut.geom.WB_RandomSegment, wblut.geom.WB_RandomCircle, wblut.geom.WB_RandomInCylinder, wblut.geom.WB_RandomRectangle, wblut.geom.WB_RandomBox, wblut.geom.WB_RandomInSphere, wblut.geom.WB_RandomDisk, wblut.geom.WB_RandomOnSphere, and wblut.geom.WB_RandomSpherical.