mirror of https://github.com/CGAL/cgal
if endpoint of segment, then ON_ORIENTED_BOUNDARY
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
parent
2d852f3e31
commit
1f5df0aad8
|
|
@ -408,8 +408,13 @@ private:
|
||||||
<< " slope" << std::endl; );
|
<< " slope" << std::endl; );
|
||||||
|
|
||||||
|
|
||||||
Oriented_side side_of_pnt =
|
Oriented_side side_of_pnt;
|
||||||
oriented_side_of_line(l, pnt);
|
if (same_points(q.source_site(), p) or
|
||||||
|
same_points(q.target_site(), p) ) {
|
||||||
|
side_of_pnt = ON_ORIENTED_BOUNDARY;
|
||||||
|
} else {
|
||||||
|
side_of_pnt = oriented_side_of_line(l, pnt);
|
||||||
|
}
|
||||||
|
|
||||||
if (side_of_pnt == ON_ORIENTED_BOUNDARY) {
|
if (side_of_pnt == ON_ORIENTED_BOUNDARY) {
|
||||||
CGAL_assertion(same_points(q.source_site(), p) or
|
CGAL_assertion(same_points(q.source_site(), p) or
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue