public interface PointSetRandomization
PointSet. One can
implement method randomize in any way. This
method must use an internal
RandomStream. This
stream can be set in the constructor, but the methods
getStream and setStream must be
implemented.
The method randomize must be implemented using
combinations of the randomization methods from the point set such
as
addRandomShift,
leftMatrixScramble,
stripedMatrixScramble,
...
If more than one PointSetRandomization is applied to the
same point set, the randomizations will concatenate if they are of
different types, but only the last of each type will remain.
| Modifier and Type | Method and Description |
|---|---|
RandomStream |
getStream()
Returns the internal
RandomStream. |
void |
randomize(PointSet p)
This method must randomize p.
|
void |
setStream(RandomStream stream)
Sets the internal
RandomStream to
stream. |
void randomize(PointSet p)
p - Point set to randomizevoid setStream(RandomStream stream)
RandomStream to
stream.stream - stream to use in the randomizationRandomStream getStream()
RandomStream.To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.