mirror of https://github.com/CGAL/cgal
Bug fix. Tried to access a fictitious vertex
This commit is contained in:
parent
382c0f6d23
commit
6ce6710e83
|
|
@ -846,9 +846,10 @@ _first_around_vertex (Vertex_const_handle v,
|
|||
// of v.
|
||||
if (lowest_left == invalid_handle ||
|
||||
(! curr->is_fictitious() &&
|
||||
compare_y_at_x_left (curr->curve(),
|
||||
lowest_left->curve(),
|
||||
v->point()) == SMALLER))
|
||||
(lowest_left->is_fictitious() ||
|
||||
compare_y_at_x_left (curr->curve(),
|
||||
lowest_left->curve(),
|
||||
v->point()) == SMALLER)))
|
||||
{
|
||||
lowest_left = curr;
|
||||
}
|
||||
|
|
@ -859,9 +860,10 @@ _first_around_vertex (Vertex_const_handle v,
|
|||
// of v.
|
||||
if (top_right == invalid_handle ||
|
||||
(! curr->is_fictitious() &&
|
||||
compare_y_at_x_right (curr->curve(),
|
||||
top_right->curve(),
|
||||
v->point()) == LARGER))
|
||||
(top_right->is_fictitious() ||
|
||||
compare_y_at_x_right (curr->curve(),
|
||||
top_right->curve(),
|
||||
v->point()) == LARGER)))
|
||||
{
|
||||
top_right = curr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue