mirror of https://github.com/CGAL/cgal
test in vring for LARGER point retval
Now, exact computation is correct with input like br80pt.cin: s 10 120 60 20 s 30 110 100 40 p 60 40 Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
parent
50ad76dcd2
commit
a103ffaef9
|
|
@ -999,9 +999,14 @@ private:
|
||||||
retval = CGAL::compare(d_fine, CGAL::abs(scalediffdvpx));
|
retval = CGAL::compare(d_fine, CGAL::abs(scalediffdvpx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
CGAL_SDG_DEBUG(std::cout << "vring test with p, retval="
|
||||||
|
<< retval << std::endl; );
|
||||||
if (retval == SMALLER) {
|
if (retval == SMALLER) {
|
||||||
return NEGATIVE;
|
return NEGATIVE;
|
||||||
}
|
}
|
||||||
|
if (retval == LARGER) {
|
||||||
|
return POSITIVE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Point_2 qref;
|
Point_2 qref;
|
||||||
|
|
@ -1025,6 +1030,9 @@ private:
|
||||||
if (retval == SMALLER) {
|
if (retval == SMALLER) {
|
||||||
return NEGATIVE;
|
return NEGATIVE;
|
||||||
}
|
}
|
||||||
|
if (retval == LARGER) {
|
||||||
|
return POSITIVE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Point_2 rref;
|
Point_2 rref;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue