mirror of https://github.com/CGAL/cgal
Generator: Document default for parameter radius
This commit is contained in:
parent
3d2edeab55
commit
0464fce7ac
|
|
@ -192,7 +192,7 @@ i.e.\ \f$ |*g| < r\f$. Two random numbers are needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_in_disc_2( double r, Random& rnd =
|
Random_points_in_disc_2( double r = 1.0, Random& rnd =
|
||||||
get_default_random());
|
get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
@ -527,7 +527,7 @@ i.e.\ \f$ |*g| == r\f$. A single random number is needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_on_circle_2( double r, Random& rnd =
|
Random_points_on_circle_2( double r=1.0, Random& rnd =
|
||||||
get_default_random());
|
get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ i.e.\ \f$ |*g| < r\f$ . Three random numbers are needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_in_sphere_3( double r, Random& rnd =
|
Random_points_in_sphere_3( double r = 1.0, Random& rnd =
|
||||||
get_default_random());
|
get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
@ -719,7 +719,7 @@ i.e.\ \f$ |*g| == r\f$ . Two random numbers are needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_on_sphere_3( double r, Random& rnd =
|
Random_points_on_sphere_3( double r=1.0, Random& rnd =
|
||||||
get_default_random());
|
get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ i.e.\ \f$ |*g| < r\f$ . \f$ 2\cdot dim+1\f$ random numbers are needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_in_ball_d(int dim, double r);
|
Random_points_in_ball_d(int dim, double r=1.0, Random& rnd = get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
|
|
@ -227,7 +227,7 @@ i.e.\ \f$ |*g| == r\f$ . \f$ 2\cdot dim\f$ random numbers are needed from
|
||||||
`rnd` for each point.
|
`rnd` for each point.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Random_points_on_sphere_d(int dim, double r, Random& rnd =
|
Random_points_on_sphere_d(int dim, double r=1.0, Random& rnd =
|
||||||
get_default_random());
|
get_default_random());
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public:
|
||||||
typedef Random_points_in_sphere_3<P,Creator> This;
|
typedef Random_points_in_sphere_3<P,Creator> This;
|
||||||
Random_points_in_sphere_3( double r = 1, Random& rnd = CGAL::get_default_random())
|
Random_points_in_sphere_3( double r = 1, Random& rnd = CGAL::get_default_random())
|
||||||
// g is an input iterator creating points of type `P' uniformly
|
// g is an input iterator creating points of type `P' uniformly
|
||||||
// distributed in the open sphere with radius r, i.e. |`*g'| < r .
|
// distributed in the open sphere with radius r, i.e., |`*g'| < r .
|
||||||
// Three random numbers are needed from `rnd' for each point
|
// Three random numbers are needed from `rnd' for each point
|
||||||
: Random_generator_base<P>( r, rnd) { generate_point(); }
|
: Random_generator_base<P>( r, rnd) { generate_point(); }
|
||||||
This& operator++() {
|
This& operator++() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue