38 #ifndef FCL_MATH_SAMPLERSE2DISK_INL_H 39 #define FCL_MATH_SAMPLERSE2DISK_INL_H 41 #include "fcl/math/sampler/sampler_se2_disk.h" 48 class SamplerSE2_disk<double>;
52 SamplerSE2_disk<S>::SamplerSE2_disk()
59 SamplerSE2_disk<S>::SamplerSE2_disk(S cx, S cy, S r1, S r2, S crefx, S crefy)
61 setBound(cx, cy, r1, r2, crefx, crefy);
66 void SamplerSE2_disk<S>::setBound(S cx, S cy, S r1, S r2, S crefx, S crefy)
69 cref[0] = crefx; cref[1] = crefy;
76 Vector3<S> SamplerSE2_disk<S>::sample()
const 80 this->rng.disk(r_min, r_max, x, y);
81 q[0] = x + c[0] - cref[0];
82 q[1] = y + c[1] - cref[1];
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
static constexpr S pi()
The mathematical constant pi.
Definition: constants.h:49