Commit ed0c4a1d authored by Jan Möbius's avatar Jan Möbius
Browse files

Revert last commit

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@543 fdac6126-5c0c-442c-9429-916003d36597
parent 4fc57878
......@@ -265,10 +265,10 @@ public:
void clear();
// --- number of items ---
size_t n_vertices() const { return vertices_.size(); }
size_t n_halfedges() const { return 2*edges_.size(); }
size_t n_edges() const { return edges_.size(); }
size_t n_faces() const { return faces_.size(); }
uint n_vertices() const { return vertices_.size(); }
uint n_halfedges() const { return 2*edges_.size(); }
uint n_edges() const { return edges_.size(); }
uint n_faces() const { return faces_.size(); }
bool vertices_empty() const { return vertices_.empty(); }
bool halfedges_empty() const { return edges_.empty(); }
......
......@@ -499,10 +499,10 @@ protected: // low-level access non-public
public: //----------------------------------------------------- element numbers
virtual size_t n_vertices() const { return 0; }
virtual size_t n_halfedges() const { return 0; }
virtual size_t n_edges() const { return 0; }
virtual size_t n_faces() const { return 0; }
virtual uint n_vertices() const { return 0; }
virtual uint n_halfedges() const { return 0; }
virtual uint n_edges() const { return 0; }
virtual uint n_faces() const { return 0; }
protected: //------------------------------------------- synchronize properties
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment