mirror of https://github.com/CGAL/cgal
\require -> \requires
This commit is contained in:
parent
4ab249fa5e
commit
2476654eeb
|
|
@ -439,7 +439,7 @@ typedef const Point_2& reference;
|
|||
distributed on the segment from \f$ p\f$ to \f$ q\f$ (excluding \f$ q\f$),
|
||||
i.e.\ \f$ *g == (1-\lambda)\, p + \lambda q\f$ where \f$ 0 \le\lambda< 1\f$.
|
||||
A single random number is needed from `rnd` for each point.
|
||||
\require The expressions `to_double(p.x())` and `to_double(p.y())` must result in the respective `double` representation of the coordinates of \f$ p\f$, and similarly for \f$ q\f$.
|
||||
\requires The expressions `to_double(p.x())` and `to_double(p.y())` must result in the respective `double` representation of the coordinates of \f$ p\f$, and similarly for \f$ q\f$.
|
||||
*/
|
||||
Random_points_on_segment_2( const Point_2& p, const Point_2& q,
|
||||
Random& rnd = default_random);
|
||||
|
|
@ -592,7 +592,7 @@ segment defined by \f$ p\f$ and \f$ q\f$. Values of the index parameter \f$ i\f$
|
|||
than 0 indicate starting points for the sequence further from \f$ p\f$.
|
||||
Point \f$ p\f$ has index value 0 and \f$ q\f$ has index value \f$ n-1\f$.
|
||||
|
||||
\require The expressions `to_double(p.x())` and `to_double(p.y())` must result in the respective `double` representation of the coordinates of \f$ p\f$, and similarly for \f$ q\f$.
|
||||
\requires The expressions `to_double(p.x())` and `to_double(p.y())` must result in the respective `double` representation of the coordinates of \f$ p\f$, and similarly for \f$ q\f$.
|
||||
*/
|
||||
Points_on_segment_2( const Point_2& p, const Point_2& q,
|
||||
std::size_t n, std::size_t i = 0);
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@ public:
|
|||
/// @{
|
||||
|
||||
/*!
|
||||
The coordinate type of the points of the polygon
|
||||
(<I>i.e.</I>, a field type)
|
||||
The coordinate type of the points of the polygon.
|
||||
*/
|
||||
typedef Hidden_type FT;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue