mirror of https://github.com/CGAL/cgal
added one more constructor
This commit is contained in:
parent
ffbf1950a2
commit
549c8cfd1f
|
|
@ -17,6 +17,11 @@ public:
|
|||
typedef R Random;
|
||||
|
||||
public:
|
||||
Random_integral_sites_in_square_2(unsigned int b)
|
||||
: b_(b), B_(b), r_(0) {
|
||||
CGAL_precondition( b >= 0 && b <= 52 );
|
||||
}
|
||||
|
||||
Random_integral_sites_in_square_2(unsigned int b, int seed)
|
||||
: b_(b), B_(b), r_(seed) {
|
||||
CGAL_precondition( b >= 0 && b <= 52 );
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ public:
|
|||
typedef R Random;
|
||||
|
||||
public:
|
||||
Random_integral_sites_on_parabola_2(unsigned int b)
|
||||
: b_(b), p_(0), r_(0) {
|
||||
CGAL_precondition( b >= 0 && b <= 26 );
|
||||
}
|
||||
|
||||
Random_integral_sites_on_parabola_2(unsigned int b, int seed)
|
||||
: b_(b), p_(0), r_(seed) {
|
||||
CGAL_precondition( b >= 0 && b <= 26 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue