mirror of https://github.com/CGAL/cgal
typo in doc
This commit is contained in:
parent
58f2178221
commit
33fcbe043a
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue