mirror of https://github.com/CGAL/cgal
If FT is float then 1e-9 is bigger than the relative
precision of float.
This commit is contained in:
parent
0e823324c9
commit
4e3d51cd2e
|
|
@ -1,3 +1,4 @@
|
|||
#define CGAL_MESH_3_VERBOSE 1
|
||||
// Copyright (c) 2009 INRIA Sophia-Antipolis (France).
|
||||
// All rights reserved.
|
||||
//
|
||||
|
|
@ -48,7 +49,7 @@ public:
|
|||
<< CGAL::get_default_random().get_seed() << std::endl;
|
||||
Mesh_domain domain = Mesh_domain::create_labeled_image_mesh_domain
|
||||
(image,
|
||||
1e-9,
|
||||
1e-6,
|
||||
CGAL::parameters::p_rng = &CGAL::get_default_random());
|
||||
|
||||
// Set mesh criteria
|
||||
|
|
@ -78,6 +79,7 @@ public:
|
|||
|
||||
int main()
|
||||
{
|
||||
std::cerr.precision(17);
|
||||
Image_tester<> test_epic;
|
||||
std::cerr << "Mesh generation from a 3D image:\n";
|
||||
test_epic.image();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#define CGAL_MESH_3_VERBOSE 1
|
||||
#include <CGAL/Installation/internal/disable_deprecation_warnings_and_errors.h>
|
||||
|
||||
#include "test_meshing_utilities.h"
|
||||
|
|
@ -33,7 +34,7 @@ public:
|
|||
|
||||
std::cout << "\tSeed is\t"
|
||||
<< CGAL::get_default_random().get_seed() << std::endl;
|
||||
Mesh_domain domain(image, 1e-9, &CGAL::get_default_random());
|
||||
Mesh_domain domain(image, 1e-6, &CGAL::get_default_random());
|
||||
|
||||
// Set mesh criteria
|
||||
Facet_criteria facet_criteria(25, 20*image.vx(), 5*image.vx());
|
||||
|
|
|
|||
Loading…
Reference in New Issue