28 #ifndef UNIFORM_SPHERIC_SAMPLER
29 #define UNIFORM_SPHERIC_SAMPLER
124 return static_cast<unsigned int>(
135 2 *
static_cast<unsigned int>(floor(
M_PI * sqrt(
static_cast<decimal>(
_nb_rays)) / 8. + 0.5));
146 _n2 =
static_cast<unsigned int>(floor(
152 for (
unsigned int i = 1; i <=
_n1; i++)
Sampler class and its sub-classes describe ray generators used in AcousticRayTracer....
decimal _phi
Global equatorial angle.
decimal _theta
Global polar angle.
unsigned int _nb_rays
Number of rays to launch.
base_vec3< decimal > vec3