typo in doc

This commit is contained in:
Sébastien Loriot 2013-05-08 14:30:26 +02:00
parent 58f2178221
commit 33fcbe043a
2 changed files with 2 additions and 11 deletions

View File

@ -377,8 +377,7 @@ namespace CGAL {
The adaptor `Container_from_circulator` is a class that converts any
circulator type `C` to a kind of container class, i.e.\ a class
that provides an `iterator` and a `const_iterator`
type and two member functions - `begin()` and `end()`
- that return the appropriate iterators. By analogy to \stl container classes these member functions return a const iterator in
type and two member functions (`begin()` and `end()`) that return the appropriate iterators. By analogy to \stl container classes these member functions return a const iterator in
the case that the container itself is constant and a mutable iterator
otherwise.

View File

@ -31,16 +31,8 @@ public:
}
bool applicable() const {
const int indexA = scene->selectionAindex();
const int indexB = scene->selectionBindex();
return qobject_cast<Scene_polyhedron_item*>(scene->item(scene->mainSelectionIndex()))
|| qobject_cast<Scene_nef_polyhedron_item*>(scene->item(scene->mainSelectionIndex()))
|| qobject_cast<Scene_polyhedron_item*>(scene->item(indexA))
|| qobject_cast<Scene_polyhedron_item*>(scene->item(indexB))
|| qobject_cast<Scene_nef_polyhedron_item*>(scene->item(indexA))
|| qobject_cast<Scene_nef_polyhedron_item*>(scene->item(indexB))
;
|| qobject_cast<Scene_nef_polyhedron_item*>(scene->item(scene->mainSelectionIndex()));
}
// QList<QAction*> actions() const {