mirror of https://github.com/CGAL/cgal
Fix bug in mesh_3 tests
This commit is contained in:
parent
39c0f96492
commit
56af55ecd4
|
|
@ -24,8 +24,12 @@ class Mesh_complex_3_in_triangulation_3;
|
||||||
|
|
||||||
template<class Tr, bool c3t3_loader_failed>
|
template<class Tr, bool c3t3_loader_failed>
|
||||||
bool build_triangulation_from_file(std::istream& is,
|
bool build_triangulation_from_file(std::istream& is,
|
||||||
Tr& tr);
|
Tr& tr,
|
||||||
|
bool prevent_domain_0);
|
||||||
|
|
||||||
|
template<class Tr, bool c3t3_loader_failed>
|
||||||
|
bool build_triangulation_from_file(std::istream& is,
|
||||||
|
Tr& tr);
|
||||||
} // CGAL
|
} // CGAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -404,7 +404,7 @@ bool build_triangulation(Tr& tr,
|
||||||
template<class Tr, bool c3t3_loader_failed>
|
template<class Tr, bool c3t3_loader_failed>
|
||||||
bool build_triangulation_from_file(std::istream& is,
|
bool build_triangulation_from_file(std::istream& is,
|
||||||
Tr& tr,
|
Tr& tr,
|
||||||
bool prevent_domain_0 = true)
|
bool prevent_domain_0)
|
||||||
{
|
{
|
||||||
typedef typename Tr::Point Point_3;
|
typedef typename Tr::Point Point_3;
|
||||||
|
|
||||||
|
|
@ -497,6 +497,12 @@ bool build_triangulation_from_file(std::istream& is,
|
||||||
return is_well_built;
|
return is_well_built;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class Tr, bool c3t3_loader_failed>
|
||||||
|
bool build_triangulation_from_file(std::istream& is,
|
||||||
|
Tr& tr)
|
||||||
|
{
|
||||||
|
return build_triangulation_from_file<Tr, c3t3_loader_failed>(is, tr, true);
|
||||||
|
}
|
||||||
} // namespace CGAL
|
} // namespace CGAL
|
||||||
|
|
||||||
#include <CGAL/enable_warnings.h>
|
#include <CGAL/enable_warnings.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue