Make parabola sampling a parameter of the sampling function

The current API is not so useful because it is is not adapted to other
scales
This commit is contained in:
Mael Rouxel-Labbé 2019-10-25 10:20:30 +02:00
parent 7acfdff7d5
commit c80abc7711
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ public:
return int(CGAL::sqrt(CGAL::to_double(tt) / 2));
}
void generate_points(std::vector<Point_2>& p) const
void generate_points(std::vector<Point_2>& p,
const FT STEP = FT(2)) const
{
const FT STEP(2);
FT s0, s1;
s0 = t(p1);