From c80abc7711677d1ed8a018feb869f35bbf9932c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 25 Oct 2019 10:20:30 +0200 Subject: [PATCH] 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 --- Apollonius_graph_2/include/CGAL/Parabola_segment_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h index 0c2f9568b54..2355f075c74 100644 --- a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h +++ b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h @@ -75,9 +75,9 @@ public: return int(CGAL::sqrt(CGAL::to_double(tt) / 2)); } - void generate_points(std::vector& p) const + void generate_points(std::vector& p, + const FT STEP = FT(2)) const { - const FT STEP(2); FT s0, s1; s0 = t(p1);