TopoMesh
Topological mesh, triangulations and operations
it_faceiterator.h
1 #ifndef FACEITERATOR_H
2 #define FACEITERATOR_H
3 
4 #include <QVector>
5 #include "m_mesh.h"
6 
8 class Mesh;
9 
10 // Iterateur sur faces
12 {
13  // Classe des iterateurs
14  friend class Mesh;
16  typedef QVector<int> g_Face;
18  typedef QVector<int> t_Face;
20  typedef QVector<int> g_Edge;
21 
22  public:
23  FaceIterator();
24  FaceIterator(int _pos,Mesh * _m);
25  bool operator==(const FaceIterator &t);
26  bool operator!=(const FaceIterator &t);
27  FaceIterator& operator++();
28  const t_Face& operator*();
29  int index() const ;
30  g_Face& g_face() const ;
31  t_Face& t_face() const ;
32  private:
33  int pos;
34  Mesh * m;
35 };
36 
37 
38 
39 
40 #endif // FACEITERATOR_H
Definition: it_faceiterator.h:11
Definition: m_mesh.h:52
friend class FaceIterator
Class FaceIterator.
Definition: m_mesh.h:64
QVector< int > g_Edge
Edge, index pair of vertex.
Definition: m_mesh.h:61
QVector< int > g_Face
Geometry face.
Definition: m_mesh.h:57
QVector< int > t_Face
Topology face.
Definition: m_mesh.h:59