HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_RandomCurve (WB_Curve curve, final double start, final double end) | |
WB_RandomCurve (WB_Curve curve, final double start, final double end, final long seed) | |
WB_RandomCurve | 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_Curve | curve |
double | start |
WB_Vector | offset |
Random generator for points on a halfopen curve. The distribution is only uniform in the curve parameter.
wblut.geom.WB_RandomCurve.WB_RandomCurve | ( | WB_Curve | curve, |
final double | start, | ||
final double | end | ||
) |
curve | |
start | |
end |
wblut.geom.WB_RandomCurve.WB_RandomCurve | ( | WB_Curve | curve, |
final double | start, | ||
final double | end, | ||
final long | seed | ||
) |
curve | |
start | |
end | |
seed |
WB_Point wblut.geom.WB_RandomCurve.nextPoint | ( | ) |
WB_Vector wblut.geom.WB_RandomCurve.nextVector | ( | ) |
void wblut.geom.WB_RandomCurve.reset | ( | ) |
Reset the RNG.
Implements wblut.geom.WB_RandomPoint.
WB_RandomPoint wblut.geom.WB_RandomCurve.setOffset | ( | WB_Coord | offset | ) |
WB_RandomPoint wblut.geom.WB_RandomCurve.setOffset | ( | double | x, |
double | y | ||
) |
WB_RandomPoint wblut.geom.WB_RandomCurve.setOffset | ( | double | x, |
double | y, | ||
double | z | ||
) |
WB_RandomCurve wblut.geom.WB_RandomCurve.setSeed | ( | final long | seed | ) |
|
private |
|
private |
|
private |
|
private |