mirror of https://github.com/CGAL/cgal
Merge pull request #3168 from MaelRL/Kernel23-Fix_weighted_point_translate_doc-GF
Kernel_23: Fix some doc issue with weighted points
This commit is contained in:
commit
786f85c93b
|
|
@ -196,8 +196,7 @@ returns the dimension (the constant 2).
|
||||||
int dimension() const;
|
int dimension() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns a bounding box containing `p`. Note that bounding boxes
|
returns a bounding box containing `p`.
|
||||||
are not parameterized with whatsoever.
|
|
||||||
*/
|
*/
|
||||||
Bbox_2 bbox() const;
|
Bbox_2 bbox() const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,16 +101,6 @@ public:
|
||||||
*/
|
*/
|
||||||
bool operator!=(const Weighted_point_2<Kernel> &q) const;
|
bool operator!=(const Weighted_point_2<Kernel> &q) const;
|
||||||
|
|
||||||
/*!
|
|
||||||
translates the point by the vector `v`.
|
|
||||||
*/
|
|
||||||
Weighted_point_2<Kernel>& operator+=(const Vector_2<Kernel> &v);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
translates the point by the vector -`v`.
|
|
||||||
*/
|
|
||||||
Weighted_point_2<Kernel>& operator-=(const Vector_2<Kernel> &v);
|
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
/// \name Coordinate Access
|
/// \name Coordinate Access
|
||||||
|
|
@ -190,8 +180,7 @@ public:
|
||||||
int dimension() const;
|
int dimension() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns a bounding box containing `p`. Note that bounding boxes
|
returns a bounding box containing `p`.
|
||||||
are not parameterized with whatsoever.
|
|
||||||
*/
|
*/
|
||||||
Bbox_2 bbox() const;
|
Bbox_2 bbox() const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,16 +101,6 @@ public:
|
||||||
*/
|
*/
|
||||||
bool operator!=(const Weighted_point_3<Kernel> &q) const;
|
bool operator!=(const Weighted_point_3<Kernel> &q) const;
|
||||||
|
|
||||||
/*!
|
|
||||||
translates the point by the vector `v`.
|
|
||||||
*/
|
|
||||||
Weighted_point_3<Kernel>& operator+=(const Vector_3<Kernel> &v);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
translates the point by the vector -`v`.
|
|
||||||
*/
|
|
||||||
Weighted_point_3<Kernel>& operator-=(const Vector_3<Kernel> &v);
|
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
/// \name Coordinate Access
|
/// \name Coordinate Access
|
||||||
|
|
@ -200,8 +190,7 @@ public:
|
||||||
int dimension() const;
|
int dimension() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns a bounding box containing `p`. Note that bounding boxes
|
returns a bounding box containing `p`.
|
||||||
are not parameterized with whatsoever.
|
|
||||||
*/
|
*/
|
||||||
Bbox_3 bbox() const;
|
Bbox_3 bbox() const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -93,62 +93,62 @@ public:
|
||||||
: Rep(typename R::Construct_weighted_point_3()(Return_base_tag(), x, y, z))
|
: Rep(typename R::Construct_weighted_point_3()(Return_base_tag(), x, y, z))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Construct_point_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Construct_point_3(Weighted_point_3)>::type
|
||||||
point() const
|
point() const
|
||||||
{
|
{
|
||||||
return typename R::Construct_point_3()(*this);
|
return typename R::Construct_point_3()(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_weight_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_weight_3(Weighted_point_3)>::type
|
||||||
weight() const
|
weight() const
|
||||||
{
|
{
|
||||||
return typename R::Compute_weight_3()(*this);
|
return typename R::Compute_weight_3()(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_x_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_x_3(Point_3)>::type
|
||||||
x() const
|
x() const
|
||||||
{
|
{
|
||||||
return typename R::Compute_x_3()(point());
|
return typename R::Compute_x_3()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_y_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_y_3(Point_3)>::type
|
||||||
y() const
|
y() const
|
||||||
{
|
{
|
||||||
return typename R::Compute_y_3()(point());
|
return typename R::Compute_y_3()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_z_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_z_3(Point_3)>::type
|
||||||
z() const
|
z() const
|
||||||
{
|
{
|
||||||
return typename R::Compute_z_3()(point());
|
return typename R::Compute_z_3()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_hx_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_hx_3(Point_3)>::type
|
||||||
hx() const
|
hx() const
|
||||||
{
|
{
|
||||||
return R().compute_hx_3_object()(point());
|
return R().compute_hx_3_object()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_hy_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_hy_3(Point_3)>::type
|
||||||
hy() const
|
hy() const
|
||||||
{
|
{
|
||||||
return R().compute_hy_3_object()(point());
|
return R().compute_hy_3_object()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_hz_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_hz_3(Point_3)>::type
|
||||||
hz() const
|
hz() const
|
||||||
{
|
{
|
||||||
return R().compute_hz_3_object()(point());
|
return R().compute_hz_3_object()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_hw_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_hw_3(Point_3)>::type
|
||||||
hw() const
|
hw() const
|
||||||
{
|
{
|
||||||
return R().compute_hw_3_object()(point());
|
return R().compute_hw_3_object()(point());
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_x_3( Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_x_3(Point_3)>::type
|
||||||
cartesian(int i) const
|
cartesian(int i) const
|
||||||
{
|
{
|
||||||
CGAL_kernel_precondition( (i == 0) || (i == 1) || (i == 2) );
|
CGAL_kernel_precondition( (i == 0) || (i == 1) || (i == 2) );
|
||||||
|
|
@ -167,7 +167,7 @@ public:
|
||||||
return hw();
|
return hw();
|
||||||
}
|
}
|
||||||
|
|
||||||
typename cpp11::result_of<typename R::Compute_x_3(Weighted_point_3)>::type
|
typename cpp11::result_of<typename R::Compute_x_3(Point_3)>::type
|
||||||
operator[](int i) const
|
operator[](int i) const
|
||||||
{
|
{
|
||||||
return cartesian(i);
|
return cartesian(i);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue