Draw pseudo-random integers bounded by min and max (inclusive) from a uniform distribution.
More...
#include <Helper.h>
Draw pseudo-random integers bounded by min and max (inclusive) from a uniform distribution.
◆ UniformRandIntGenerator()
open3d::utility::UniformRandIntGenerator::UniformRandIntGenerator |
( |
const int |
min, |
|
|
const int |
max, |
|
|
std::mt19937::result_type |
seed = std::random_device{}() |
|
) |
| |
|
inline |
◆ operator()()
int open3d::utility::UniformRandIntGenerator::operator() |
( |
| ) |
|
|
inline |
◆ distribution_
std::uniform_int_distribution<int> open3d::utility::UniformRandIntGenerator::distribution_ |
|
protected |
◆ generator_
std::mt19937 open3d::utility::UniformRandIntGenerator::generator_ |
|
protected |
The documentation for this class was generated from the following file: