21 #ifndef FACEITERATOR2_H
22 #define FACEITERATOR2_H
26 #include <tulip/Iterator.h>
27 #include <tulip/Face.h>
28 #include <tulip/Node.h>
29 #include <tulip/Edge.h>
37 class TLP_SCOPE FaceIterator :
public Iterator<Face> {
39 FaceIterator(PlanarConMap *m);
40 ~FaceIterator()
override {}
43 bool hasNext()
override;
52 class TLP_SCOPE FaceAdjIterator :
public Iterator<Face> {
54 FaceAdjIterator(PlanarConMap *m,
const node n);
55 ~FaceAdjIterator()
override {}
58 bool hasNext()
override;
61 std::vector<Face> facesAdj;
67 class TLP_SCOPE NodeFaceIterator :
public Iterator<node> {
69 NodeFaceIterator(PlanarConMap *m,
const Face);
70 ~NodeFaceIterator()
override {}
73 bool hasNext()
override;
77 std::vector<node> nodes;
83 class TLP_SCOPE EdgeFaceIterator :
public Iterator<edge> {
85 EdgeFaceIterator(PlanarConMap *m,
const Face);
86 ~EdgeFaceIterator()
override {}
89 bool hasNext()
override;