mirror of https://github.com/CGAL/cgal
add a method to invalidate the aabb-tree in the polyhedron item
This commit is contained in:
parent
cf70fd4d61
commit
cfe6f59802
|
|
@ -1119,6 +1119,10 @@ void Scene_polyhedron_item::update_halfedge_indices()
|
||||||
hit->id()=id++;
|
hit->id()=id++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
void Scene_polyhedron_item::invalidate_aabb_tree()
|
||||||
|
{
|
||||||
|
delete_aabb_tree(this);
|
||||||
|
}
|
||||||
|
|
||||||
#include "Scene_polyhedron_item.moc"
|
#include "Scene_polyhedron_item.moc"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,7 @@ public Q_SLOTS:
|
||||||
void update_vertex_indices();
|
void update_vertex_indices();
|
||||||
void update_facet_indices();
|
void update_facet_indices();
|
||||||
void update_halfedge_indices();
|
void update_halfedge_indices();
|
||||||
|
void invalidate_aabb_tree();
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void selected_vertex(void*);
|
void selected_vertex(void*);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue