mirror of https://github.com/CGAL/cgal
Minor cleanup (un-share variable).
This commit is contained in:
parent
ac3d842098
commit
cb7bbc1619
|
|
@ -2419,8 +2419,6 @@ insert_in_conflict(const Point & p,
|
|||
const Conflict_tester &tester,
|
||||
Hidden_points_visitor &hider)
|
||||
{
|
||||
Vertex_handle v;
|
||||
|
||||
switch (dimension()) {
|
||||
case 3:
|
||||
{
|
||||
|
|
@ -2451,7 +2449,7 @@ insert_in_conflict(const Point & p,
|
|||
|
||||
|
||||
// Insertion.
|
||||
v = tds()._insert_in_hole(cells.begin(), cells.end(),
|
||||
Vertex_handle v = tds()._insert_in_hole(cells.begin(), cells.end(),
|
||||
facet.first, facet.second);
|
||||
|
||||
v->set_point (p);
|
||||
|
|
@ -2492,7 +2490,7 @@ insert_in_conflict(const Point & p,
|
|||
|
||||
|
||||
// Insertion.
|
||||
v = tds()._insert_in_hole(cells.begin(), cells.end(),
|
||||
Vertex_handle v = tds()._insert_in_hole(cells.begin(), cells.end(),
|
||||
facet.first, facet.second);
|
||||
|
||||
v->set_point (p);
|
||||
|
|
@ -2550,7 +2548,7 @@ insert_in_conflict(const Point & p,
|
|||
tds().delete_cells(cells.begin(), cells.end());
|
||||
|
||||
// We preserve the order (like the orientation in 2D-3D).
|
||||
v = tds().create_vertex();
|
||||
Vertex_handle v = tds().create_vertex();
|
||||
Cell_handle c0 = tds().create_face(v, bound[0]->vertex(0), Vertex_handle());
|
||||
Cell_handle c1 = tds().create_face(bound[1]->vertex(1), v, Vertex_handle());
|
||||
tds().set_adjacency(c0, 1, c1, 0);
|
||||
|
|
@ -2566,8 +2564,6 @@ insert_in_conflict(const Point & p,
|
|||
return v;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
template < class GT, class Tds >
|
||||
|
|
|
|||
Loading…
Reference in New Issue