mirror of https://github.com/CGAL/cgal
Reworded warning about implicit and explicit conversions of Points/Weighted_points
This commit is contained in:
parent
54bae5140a
commit
0b38b4f82e
|
|
@ -86,7 +86,7 @@ Point_2(const Kernel::FT &x, const Kernel::FT &y);
|
|||
/*!
|
||||
introduces a point from a weighted point.
|
||||
|
||||
\warning The `explicit` keyword is used to not have accidental implicit conversions
|
||||
\warning The `explicit` keyword is used to avoid accidental implicit conversions
|
||||
between Point_2 and Weighted_point_2.
|
||||
*/
|
||||
explicit Point_2(const Kernel::Weighted_point_2 &wp);
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ Point_3(const Kernel::FT &x, const Kernel::FT &y, const Kernel::FT &z);
|
|||
/*!
|
||||
introduces a point from a weighted point.
|
||||
|
||||
\warning The `explicit` keyword is used to not have accidental implicit conversions
|
||||
\warning The `explicit` keyword is used to avoid accidental implicit conversions
|
||||
between Point_3 and Weighted_point_3.
|
||||
*/
|
||||
explicit Point_3(const Kernel::Weighted_point_3 &wp);
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
/*!
|
||||
introduces a weighted point from point `p` and weight `0`.
|
||||
|
||||
\warning The `explicit` keyword is used to not have accidental implicit conversions
|
||||
\warning The `explicit` keyword is used to avoid accidental implicit conversions
|
||||
between Point_2 and Weighted_point_2.
|
||||
*/
|
||||
Weighted_point_2(const Point_2<Kernel>& p);
|
||||
|
|
|
|||
|
|
@ -47,8 +47,11 @@ public:
|
|||
|
||||
/*!
|
||||
introduces a weighted point from point `p` and weight `0`.
|
||||
|
||||
\warning The `explicit` keyword is used to avoid accidental implicit conversions
|
||||
between Point_3 and Weighted_point_3.
|
||||
*/
|
||||
Weighted_point_3(const Point_3<Kernel>& p);
|
||||
explicit Weighted_point_3(const Point_3<Kernel>& p);
|
||||
|
||||
/*!
|
||||
introduces a weighted point from point `p` and weight `w`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue