38 #ifndef FCL_MATH_SAMPLERSE3QUAT_INL_H 39 #define FCL_MATH_SAMPLERSE3QUAT_INL_H 41 #include "fcl/math/sampler/sampler_se3_quat.h" 48 class SamplerSE3Quat<double>;
52 SamplerSE3Quat<S>::SamplerSE3Quat()
59 SamplerSE3Quat<S>::SamplerSE3Quat(
const Vector3<S>& lower_bound_,
const Vector3<S>& upper_bound_) : lower_bound(lower_bound_),
60 upper_bound(upper_bound_)
67 void SamplerSE3Quat<S>::getBound(Vector3<S>& lower_bound_, Vector3<S>& upper_bound_)
const 69 lower_bound_ = lower_bound;
70 upper_bound_ = upper_bound;
75 void SamplerSE3Quat<S>::setBound(
const Vector3<S>& lower_bound_,
const Vector3<S>& upper_bound_)
78 lower_bound = lower_bound_;
79 upper_bound = upper_bound_;
84 Vector6<S> SamplerSE3Quat<S>::sample()
const 87 q[0] = this->rng.uniformReal(lower_bound[0], upper_bound[0]);
88 q[1] = this->rng.uniformReal(lower_bound[1], upper_bound[1]);
89 q[2] = this->rng.uniformReal(lower_bound[2], upper_bound[2]);
92 this->rng.quaternion(s);
Main namespace.
Definition: broadphase_bruteforce-inl.h:45