|  | 
Uniform distribution over the volume (closed set) of an n dimensional unit sphere. More...
#include <RobotComponents/components/MotionPlanning/util/Samplers.h>
| Public Member Functions | |
| template<class Iterator , class Generator > | |
| void | operator() (const Iterator &first, const Iterator &last, Generator &gen) | 
| Fills [first, last) with a uniform sample of n dimensional unit sphere's volume (n = distance(first, last)).  More... | |
| UniformUnitSphereDistribution () | |
| Ctor.  More... | |
| Protected Attributes | |
| std::normal_distribution< RealType > | normDist | 
| The internal used normal distribution for samples of the sphere surfaces.  More... | |
| std::uniform_real_distribution< RealType > | radDist | 
| The uniform distribution used to transform sphere surface samples to samples in the sphere.  More... | |
Uniform distribution over the volume (closed set) of an n dimensional unit sphere.
Definition at line 167 of file Samplers.h.
| 
 | inline | 
Ctor.
Definition at line 173 of file Samplers.h.
| 
 | inline | 
Fills [first, last) with a uniform sample of n dimensional unit sphere's volume (n = distance(first, last)).
| first | |
| last | |
| gen | |
| first | The first value to fill. | 
| last | One past the last value to fill. | 
| gen | The generator to use. | 
Definition at line 188 of file Samplers.h.
| 
 | protected | 
The internal used normal distribution for samples of the sphere surfaces.
Definition at line 212 of file Samplers.h.
| 
 | protected | 
The uniform distribution used to transform sphere surface samples to samples in the sphere.
Definition at line 216 of file Samplers.h.