Fixed 'Is_Gabriel' using wrong offsets in 27-sheeted triangulations

This commit is contained in:
Mael Rouxel-Labbé 2017-11-17 17:21:45 +01:00
parent b0eb340e7f
commit 36a5a43111
1 changed files with 3 additions and 3 deletions

View File

@ -827,9 +827,9 @@ public:
int i1 = cc->index(v1); int i1 = cc->index(v1);
int i2 = cc->index(v2); int i2 = cc->index(v2);
int i3 = fcirc->second; int i3 = fcirc->second;
Offset off1 = int_to_off(cc->offset(i1)); Offset off1 = get_offset(cc, i1);
Offset off2 = int_to_off(cc->offset(i2)); Offset off2 = get_offset(cc, i2);
Offset off3 = int_to_off(cc->offset(i3)); Offset off3 = get_offset(cc, i3);
if(side_of_bounded_power_sphere(v1->point(), v2->point(), cc->vertex(i3)->point(), if(side_of_bounded_power_sphere(v1->point(), v2->point(), cc->vertex(i3)->point(),
off1, off2, off3) == ON_BOUNDED_SIDE) off1, off2, off3) == ON_BOUNDED_SIDE)
return false; return false;