Open CASCADE Technology 7.8.0
|
Compute points of the Halton sequence with digit-permutations for different bases. More...
#include <OpenGl_HaltonSampler.hxx>
Public Member Functions | |
OpenGl_HaltonSampler () | |
Init the permutation arrays using Faure-permutations. | |
float | sample (unsigned theDimension, unsigned theIndex) const |
Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions(). | |
Static Public Member Functions | |
static unsigned | get_num_dimensions () |
Return the number of supported dimensions. | |
Compute points of the Halton sequence with digit-permutations for different bases.
|
inline |
Init the permutation arrays using Faure-permutations.
Return the number of supported dimensions.
Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions().