mirror of https://github.com/CGAL/cgal
a small fix in sqrt field new
There was a problem with the following input. $ cat ~/Dropbox/cgal/demo/Segment_Delaunay_graph_Linf_2/September/br3.cin s 50 50 100 100 p 50 0 s 0 0 50 50 Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
parent
1a43cceb91
commit
db44c9d742
|
|
@ -988,7 +988,9 @@ private:
|
|||
oriented_side_of_line(l, p.source_site().point());
|
||||
Oriented_side oslptrg =
|
||||
oriented_side_of_line(l, p.target_site().point());
|
||||
if ((oslpsrc != oslvv) and (oslptrg != oslvv)) {
|
||||
if (((oslpsrc != oslvv) and (oslptrg != oslvv)) and
|
||||
((oslpsrc != ON_ORIENTED_BOUNDARY) or
|
||||
(oslptrg != ON_ORIENTED_BOUNDARY) ) ) {
|
||||
compare_p = SMALLER;
|
||||
}
|
||||
}
|
||||
|
|
@ -1018,7 +1020,9 @@ private:
|
|||
oriented_side_of_line(l, q.source_site().point());
|
||||
Oriented_side oslqtrg =
|
||||
oriented_side_of_line(l, q.target_site().point());
|
||||
if ((oslqsrc != oslvv) and (oslqtrg != oslvv)) {
|
||||
if (((oslqsrc != oslvv) and (oslqtrg != oslvv)) and
|
||||
((oslqsrc != ON_ORIENTED_BOUNDARY) or
|
||||
(oslqtrg != ON_ORIENTED_BOUNDARY) ) ) {
|
||||
compare_q = SMALLER;
|
||||
}
|
||||
}
|
||||
|
|
@ -1048,7 +1052,9 @@ private:
|
|||
oriented_side_of_line(l, r.source_site().point());
|
||||
Oriented_side oslrtrg =
|
||||
oriented_side_of_line(l, r.target_site().point());
|
||||
if ((oslrsrc != oslvv) and (oslrtrg != oslvv)) {
|
||||
if (((oslrsrc != oslvv) and (oslrtrg != oslvv)) and
|
||||
((oslrsrc != ON_ORIENTED_BOUNDARY) or
|
||||
(oslrtrg != ON_ORIENTED_BOUNDARY) ) ) {
|
||||
compare_r = SMALLER;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue