Commit 0837d5d1 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'Documentation_size_t_fixes' into 'master'

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

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