mirror of https://github.com/CGAL/cgal
fix case 12
This commit is contained in:
parent
a26351455b
commit
9cd8f0e8e1
|
|
@ -870,9 +870,13 @@ public:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Locate_type::FACET:
|
case Locate_type::FACET: {
|
||||||
|
if(facet_has_edge(Facet(chprev, liprev), get_edge()))
|
||||||
|
_curr_simplex = Facet(chprev, liprev); //edge-facet-outside
|
||||||
|
else
|
||||||
_curr_simplex = chprev; //query goes through the cell
|
_curr_simplex = chprev; //query goes through the cell
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case Locate_type::CELL:
|
case Locate_type::CELL:
|
||||||
_curr_simplex = ch; //edge-cell-outside
|
_curr_simplex = ch; //edge-cell-outside
|
||||||
break;
|
break;
|
||||||
|
|
@ -915,6 +919,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
case Locate_type::FACET:
|
case Locate_type::FACET:
|
||||||
|
if(facet_has_edge(Facet(ch, li_exit), get_edge()))
|
||||||
|
_curr_simplex = Facet(ch, li_exit); //edge-facet-outside
|
||||||
|
else
|
||||||
_curr_simplex = Cell_handle(_cell_iterator);//query goes through the cell
|
_curr_simplex = Cell_handle(_cell_iterator);//query goes through the cell
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue