diff --git a/Point_set_shape_detection_3/doc/Point_set_shape_detection_3/Concepts/EfficientRANSACTraits.h b/Point_set_shape_detection_3/doc/Point_set_shape_detection_3/Concepts/EfficientRANSACTraits.h index 651559ce140..6fda45d2cae 100644 --- a/Point_set_shape_detection_3/doc/Point_set_shape_detection_3/Concepts/EfficientRANSACTraits.h +++ b/Point_set_shape_detection_3/doc/Point_set_shape_detection_3/Concepts/EfficientRANSACTraits.h @@ -85,7 +85,7 @@ public: /*! * Function object type that provides - * `Point_3 operator()(const Line_3& l)` + * `Point_3 operator()(const Line_3& l, int i)` * returning an arbitrary point on `l`. It holds `point(i) == point(j)`, * iff `i == j`. Furthermore, it is directed from `point(i)` to `point(j)`, * for all `i < j`. diff --git a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_fake_traits_for_testing.h b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_fake_traits_for_testing.h index df6c460d760..d421c414af0 100644 --- a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_fake_traits_for_testing.h +++ b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_fake_traits_for_testing.h @@ -162,7 +162,7 @@ namespace CGAL { struct Construct_point_on_3 { - Point_3 operator()(Line_3 const&) { return Point_3(); } + Point_3 operator()(Line_3 const&, int) { return Point_3(); } }; Construct_point_on_3 construct_point_on_3_object() const { return Construct_point_on_3(); } diff --git a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h index ce94ac17acf..90be59a70c5 100644 --- a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h +++ b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h @@ -622,7 +622,7 @@ namespace CGAL { Sphere_3 constr_sphere(const Point_3& c, FT r) const { return m_traits.construct_sphere_3_object()(c, r); } Point_3 constr_point_on(const Line_3& l) const - { return m_traits.construct_point_on_3_object()(l); } + { return m_traits.construct_point_on_3_object()(l, 0); } FT sqlen(const Vector_3& v) const { return m_traits.compute_squared_length_3_object()(v); }