Added a whole bunch of doxygen documentation.

This commit is contained in:
Hans-Christian Ebke
2016-03-24 12:58:43 +01:00
parent 63985edd59
commit 3868b351ec
4 changed files with 115 additions and 11 deletions

View File

@@ -646,12 +646,26 @@ public: //----------------------------------------------------- element numbers
protected: //------------------------------------------- synchronize properties
/// Reserves space for \p _n elements in all vertex property vectors.
void vprops_reserve(size_t _n) const { vprops_.reserve(_n); }
/// Resizes all vertex property vectors to the specified size.
void vprops_resize(size_t _n) const { vprops_.resize(_n); }
/**
* Same as vprops_resize() but ignores vertex property vectors that have
* a size larger than \p _n.
*
* Use this method instead of vprops_resize() if you plan to frequently reduce
* and enlarge the property container and you don't want to waste time
* reallocating the property vectors every time.
*/
void vprops_resize_if_smaller(size_t _n) const { vprops_.resize_if_smaller(_n); }
void vprops_clear() {
vprops_.clear();
}
void vprops_swap(unsigned int _i0, unsigned int _i1) const {
vprops_.swap(_i0, _i1);
}