mirror of https://github.com/CGAL/cgal
Fix test compilation
This commit is contained in:
parent
2985283578
commit
40f7bed213
|
|
@ -186,7 +186,7 @@ bool is_valid_wrap(const MultipolygonWithHoles& wrap,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!Polygon_repair::internal::is_valid(wrap))
|
if(!Polygon_repair::is_valid(wrap))
|
||||||
{
|
{
|
||||||
#ifdef CGAL_AW3_DEBUG
|
#ifdef CGAL_AW3_DEBUG
|
||||||
std::cerr << "Error: invalid wrap" << std::endl;
|
std::cerr << "Error: invalid wrap" << std::endl;
|
||||||
|
|
@ -194,14 +194,6 @@ bool is_valid_wrap(const MultipolygonWithHoles& wrap,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Alpha_wraps_2::internal::has_degenerated_edges(wrap))
|
|
||||||
{
|
|
||||||
#ifdef CGAL_AW3_DEBUG
|
|
||||||
std::cerr << "Error: Wrap has degenerate edges" << std::endl;
|
|
||||||
#endif
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(check_manifoldness)
|
if(check_manifoldness)
|
||||||
{
|
{
|
||||||
if(!Alpha_wraps_2::internal::is_simple(wrap))
|
if(!Alpha_wraps_2::internal::is_simple(wrap))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue