mirror of https://github.com/CGAL/cgal
Bounding_volumes
This commit is contained in:
parent
0ce35e88ff
commit
31b6b06aa4
|
|
@ -5,6 +5,7 @@
|
||||||
#include <CGAL/Exact_rational.h>
|
#include <CGAL/Exact_rational.h>
|
||||||
#include <CGAL/Min_sphere_of_spheres_d.h>
|
#include <CGAL/Min_sphere_of_spheres_d.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
const int N = 1000; // number of spheres
|
const int N = 1000; // number of spheres
|
||||||
const int LOW = 0, HIGH = 10000; // range of coordinates and radii
|
const int LOW = 0, HIGH = 10000; // range of coordinates and radii
|
||||||
|
|
@ -29,5 +30,5 @@ int main () {
|
||||||
}
|
}
|
||||||
|
|
||||||
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
||||||
CGAL_assertion(ms.is_valid());
|
assert(ms.is_valid());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#include <CGAL/Exact_rational.h>
|
#include <CGAL/Exact_rational.h>
|
||||||
#include <CGAL/Min_sphere_of_spheres_d.h>
|
#include <CGAL/Min_sphere_of_spheres_d.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
const int N = 1000; // number of spheres
|
const int N = 1000; // number of spheres
|
||||||
const int LOW = 0, HIGH = 10000; // range of coordinates and radii
|
const int LOW = 0, HIGH = 10000; // range of coordinates and radii
|
||||||
|
|
@ -30,5 +31,5 @@ int main () {
|
||||||
}
|
}
|
||||||
|
|
||||||
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
||||||
CGAL_assertion(ms.is_valid());
|
assert(ms.is_valid());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#include <CGAL/Exact_rational.h>
|
#include <CGAL/Exact_rational.h>
|
||||||
#include <CGAL/Min_sphere_of_spheres_d.h>
|
#include <CGAL/Min_sphere_of_spheres_d.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
const int N = 1000; // number of spheres
|
const int N = 1000; // number of spheres
|
||||||
const int D = 3; // dimension of points
|
const int D = 3; // dimension of points
|
||||||
|
|
@ -31,5 +32,5 @@ int main () {
|
||||||
}
|
}
|
||||||
|
|
||||||
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
Min_sphere ms(S.begin(),S.end()); // check in the spheres
|
||||||
CGAL_assertion(ms.is_valid());
|
assert(ms.is_valid());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue