HE_Mesh
5.0.0
|
Public Member Functions | |
WB_RandomSegment (final WB_Coord start, final WB_Coord end) | |
WB_RandomSegment (final WB_Coord start, final WB_Coord end, final long seed) | |
WB_RandomSegment | 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) |
Private Attributes | |
final WB_MTRandom | randomGen |
WB_Vector | offset |
Random generator for vectors uniformly distributed on a halfopen linesegment
start | |
end |
wblut.geom.WB_RandomSegment.WB_RandomSegment | ( | final WB_Coord | start, |
final WB_Coord | end, | ||
final long | seed | ||
) |
start | |
end | |
seed |
WB_Point wblut.geom.WB_RandomSegment.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomSegment.nextVector | ( | ) |
void wblut.geom.WB_RandomSegment.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomSegment.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomSegment.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomSegment.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomSegment wblut.geom.WB_RandomSegment.setSeed | ( | final long | seed | ) |
|
private |
|
private |