16 #include <Eigen/Geometry>
17 using namespace Eigen;
29 void sample(MatrixX3d &samples,
32 double phi_max = M_PI,
33 Method method = NAIVE,
34 bool use_random =
true)
const;
36 void sample_to_global(MatrixX3d &samples,
38 const Vector3d &up = Vector3d::UnitZ(),
40 double phi_max = M_PI,
41 bool use_random =
true,
42 Method method = NAIVE)
const;
44 void to_global(
const MatrixX3d &local,
46 const Vector3d &up = Vector3d::UnitZ())
const;
49 void sample_naive(MatrixX3d &samples,
52 double phi_max = M_PI,
53 bool use_random =
true)
const;