Commit acda26a0 authored by Jan Möbius's avatar Jan Möbius

Fixed Documentation stating unsined int instead of size_t for n_entity() functions

parent 0d3cce6d
Pipeline #1641 passed with stage
...@@ -141,9 +141,9 @@ public: ...@@ -141,9 +141,9 @@ public:
* exhausted. This might lead to an memory allocation exception, * exhausted. This might lead to an memory allocation exception,
* though an smaller increment would be enough. * though an smaller increment would be enough.
*/ */
void reserve( unsigned int _n_vertices, void reserve( size_t _n_vertices,
unsigned int _n_edges, size_t _n_edges,
unsigned int _n_faces ); size_t _n_faces );
/// \name Handle -> Item. /// \name Handle -> Item.
...@@ -224,13 +224,13 @@ public: ...@@ -224,13 +224,13 @@ public:
/// \name Number of elements /// \name Number of elements
//@{ //@{
/// Returns number of vertices /// Returns number of vertices
unsigned int n_vertices() const; size_t n_vertices() const;
/// Returns number of halfedges (should be 2*n_edges()) /// Returns number of halfedges (should be 2*n_edges())
unsigned int n_halfedges() const; size_t n_halfedges() const;
/// Returns number of edges /// Returns number of edges
unsigned int n_edges() const; size_t n_edges() const;
/// Returns number of faces /// Returns number of faces
unsigned int n_faces() const; size_t n_faces() const;
/// Is the vertex container empty? /// Is the vertex container empty?
bool vertices_empty() const; bool vertices_empty() const;
/// Is the halfedge container empty (should be the same as edges_empty()). /// Is the halfedge container empty (should be the same as edges_empty()).
......
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