mirror of https://github.com/CGAL/cgal
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:
parent
7acfdff7d5
commit
c80abc7711
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue