Face.h

Go to the documentation of this file.
00001 
00009 #ifndef _MESHLIB_FACE_H_
00010 #define _MESHLIB_FACE_H_
00011 
00012 #include <assert.h>
00013 #include <string>
00014 #include "../Geometry/Point.h"
00015 
00016 namespace MeshLib{
00017 
00018 
00019 class CHalfEdge;
00020 
00024 class CFace
00025 {
00026 public:
00030         CFace(){ m_halfedge = NULL; };
00034         ~CFace(){};
00038         CHalfEdge    *          & halfedge() { return m_halfedge; };
00042         int                         & id()          { return m_id;      };
00046         const int             id() const { return m_id;      };
00050         std::string                     & string()     { return m_string; };
00054         void                  _to_string()   {};
00058         void                  _from_string() {};
00059 protected:
00063         int                            m_id;
00067         CHalfEdge        * m_halfedge;
00071     std::string        m_string;
00072 };
00073 
00074 
00075 }//name space MeshLib
00076 
00077 #endif //_MESHLIB_FACE_H_ defined
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines