Template Class spherical_dots
Defined in File point.hpp
Class Documentation
-
template<int N>
class spherical_dots Helper class to generate evenly divided points on a sphere.
We use a fibonacci sphere to calculate even distribution of the dots
- Template Parameters
N – The number of points on the sphere is 2 * N + 1
Public Types
-
using iterator = typename array_type::const_iterator
iterator type
Public Functions
-
inline size_t size() const
The number of points.
-
inline double weight() const
return the weight,
-
inline spherical_dots()
Public Static Functions
-
static inline spherical_dots &instance()
singleton instance