Uniform distribution over the surface of an n dimensional unit sphere.
More...
#include <RobotComponents/components/MotionPlanning/util/Samplers.h>
|
| 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 surface (n = distance(first, last)).
|
| |
| | UniformUnitSphereSurfaceDistribution () |
| | Ctor.
|
| |
|
| std::normal_distribution< RealType > | normDist |
| | The internally used normal distribution.
|
| |
template<class RealType>
class armarx::UniformUnitSphereSurfaceDistribution< RealType >
Uniform distribution over the surface of an n dimensional unit sphere.
(using the method described in doi>10.1145/377939.377946 (https://dl.acm.org/citation.cfm?doid=377939.377946))
◆ UniformUnitSphereSurfaceDistribution()
◆ operator()()
template<class RealType>
template<class Iterator, class Generator>
| void operator() |
( |
const Iterator & | first, |
|
|
const Iterator & | last, |
|
|
Generator & | gen ) |
|
inline |
Fills [first, last) with a uniform sample of n dimensional unit sphere's surface (n = distance(first, last)).
- Parameters
-
| first | The first value to fill. |
| last | One past the last value to fill. |
| gen | The generator to use. |
◆ normDist
template<class RealType>
| std::normal_distribution<RealType> normDist |
|
protected |
The internally used normal distribution.
The documentation for this class was generated from the following file:
- RobotComponents/components/MotionPlanning/util/Samplers.h