mirror of https://github.com/CGAL/cgal
fix a few segfaults
This commit is contained in:
parent
6706e0468e
commit
ab9e0ebc8a
|
|
@ -4199,11 +4199,12 @@ public:
|
||||||
CGAL_assertion(false == this->is_infinite(*facet_circ));
|
CGAL_assertion(false == this->is_infinite(*facet_circ));
|
||||||
const auto cell = facet_circ->first;
|
const auto cell = facet_circ->first;
|
||||||
const auto facet_index = facet_circ->second;
|
const auto facet_index = facet_circ->second;
|
||||||
CGAL_assertion_msg(!cell->ccdt_3_data().is_facet_constrained(facet_index),
|
if(cell->ccdt_3_data().is_facet_constrained(facet_index)) {
|
||||||
std::invoke([&]() {
|
CGAL_error_msg(std::invoke([&]() {
|
||||||
this->dump_triangulation_to_off();
|
if(this->debug().regions()) this->dump_triangulation_to_off();
|
||||||
return std::string("intersecting polygons!");
|
return std::string("intersecting polygons!");
|
||||||
}).c_str());
|
}).c_str());
|
||||||
|
}
|
||||||
if(new_cell(cell)) {
|
if(new_cell(cell)) {
|
||||||
intersecting_cells.insert(cell);
|
intersecting_cells.insert(cell);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue