HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_RandomLine (final WB_Coord start, final WB_Coord end) | |
WB_RandomLine (final WB_Coord start, final WB_Coord end, final long seed) | |
WB_RandomLine | 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_RandomLine.WB_RandomLine | ( | final WB_Coord | start, |
final WB_Coord | end, | ||
final long | seed | ||
) |
start | |
end | |
seed |
WB_Point wblut.geom.WB_RandomLine.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomLine.nextVector | ( | ) |
void wblut.geom.WB_RandomLine.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomLine.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomLine.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomLine.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomLine wblut.geom.WB_RandomLine.setSeed | ( | final long | seed | ) |
|
private |
|
private |