Bug reported by Daniel Russel.

RT3::find_conflict did not check if the point it's given is hidden before calling
T3::find_conflicts.

Fixed.
This commit is contained in:
Christophe Delage 2007-03-30 12:15:50 +00:00
parent 55aa33dfbe
commit 4bfb9c5b0f
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,7 @@ public:
if (dimension() == 2) {
Conflict_tester_for_find_conflicts_2 tester(p, this);
if (! tester (c)) return make_triple (bfit, cit, ifit);
ifit = Tr_Base::find_conflicts
(c, tester,
make_triple(std::back_inserter(facets),
@ -191,6 +192,7 @@ public:
}
else {
Conflict_tester_for_find_conflicts_3 tester(p, this);
if (! tester (c)) return make_triple (bfit, cit, ifit);
ifit = Tr_Base::find_conflicts
(c, tester,
make_triple(std::back_inserter(facets),