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
This commit is contained in:
Jan Möbius
2016-05-09 12:46:39 +02:00

View File

@@ -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:
/// \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()).