diff --git a/Kernel_23/doc/Kernel_23/CGAL/Point_2.h b/Kernel_23/doc/Kernel_23/CGAL/Point_2.h index b18c6b4c8d7..e304a259393 100644 --- a/Kernel_23/doc/Kernel_23/CGAL/Point_2.h +++ b/Kernel_23/doc/Kernel_23/CGAL/Point_2.h @@ -196,8 +196,7 @@ returns the dimension (the constant 2). int dimension() const; /*! -returns a bounding box containing `p`. Note that bounding boxes -are not parameterized with whatsoever. +returns a bounding box containing `p`. */ Bbox_2 bbox() const; diff --git a/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_2.h b/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_2.h index 92e9fc8e70f..620f63ae66c 100644 --- a/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_2.h +++ b/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_2.h @@ -101,16 +101,6 @@ public: */ bool operator!=(const Weighted_point_2 &q) const; - /*! - translates the point by the vector `v`. - */ - Weighted_point_2& operator+=(const Vector_2 &v); - - /*! - translates the point by the vector -`v`. - */ - Weighted_point_2& operator-=(const Vector_2 &v); - /// @} /// \name Coordinate Access @@ -190,8 +180,7 @@ public: int dimension() const; /*! - returns a bounding box containing `p`. Note that bounding boxes - are not parameterized with whatsoever. + returns a bounding box containing `p`. */ Bbox_2 bbox() const; diff --git a/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_3.h b/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_3.h index cef4445a0a3..849fc10ee4a 100644 --- a/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_3.h +++ b/Kernel_23/doc/Kernel_23/CGAL/Weighted_point_3.h @@ -101,16 +101,6 @@ public: */ bool operator!=(const Weighted_point_3 &q) const; - /*! - translates the point by the vector `v`. - */ - Weighted_point_3& operator+=(const Vector_3 &v); - - /*! - translates the point by the vector -`v`. - */ - Weighted_point_3& operator-=(const Vector_3 &v); - /// @} /// \name Coordinate Access @@ -200,8 +190,7 @@ public: int dimension() const; /*! - returns a bounding box containing `p`. Note that bounding boxes - are not parameterized with whatsoever. + returns a bounding box containing `p`. */ Bbox_3 bbox() const; diff --git a/Kernel_23/include/CGAL/Weighted_point_3.h b/Kernel_23/include/CGAL/Weighted_point_3.h index cb828b93a99..16bf1e51c4b 100644 --- a/Kernel_23/include/CGAL/Weighted_point_3.h +++ b/Kernel_23/include/CGAL/Weighted_point_3.h @@ -93,62 +93,62 @@ public: : Rep(typename R::Construct_weighted_point_3()(Return_base_tag(), x, y, z)) {} - typename cpp11::result_of::type + typename cpp11::result_of::type point() const { return typename R::Construct_point_3()(*this); } - typename cpp11::result_of::type + typename cpp11::result_of::type weight() const { return typename R::Compute_weight_3()(*this); } - typename cpp11::result_of::type + typename cpp11::result_of::type x() const { return typename R::Compute_x_3()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type y() const { return typename R::Compute_y_3()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type z() const { return typename R::Compute_z_3()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type hx() const { return R().compute_hx_3_object()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type hy() const { return R().compute_hy_3_object()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type hz() const { return R().compute_hz_3_object()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type hw() const { return R().compute_hw_3_object()(point()); } - typename cpp11::result_of::type + typename cpp11::result_of::type cartesian(int i) const { CGAL_kernel_precondition( (i == 0) || (i == 1) || (i == 2) ); @@ -167,7 +167,7 @@ public: return hw(); } - typename cpp11::result_of::type + typename cpp11::result_of::type operator[](int i) const { return cartesian(i);