Fix test compilation

This commit is contained in:
Mael Rouxel-Labbé 2025-11-26 00:11:58 +01:00
parent 2985283578
commit 40f7bed213
1 changed files with 1 additions and 9 deletions

View File

@ -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))