The class HalfedgeDS_vector<Traits,HalfedgeDSItems,Alloc> is a model for the HalfedgeDS concept. HalfedgeDS_vector<Traits,HalfedgeDSItems,Alloc> is a vector-based representation with random access iterators that does not support removal.
#include <CGAL/HalfedgeDS_vector.h>
HalfedgeDS<Traits,Items,Alloc>
| ||
|
||
|
|
CGAL::HalfedgeDS_default
CGAL::HalfedgeDS_list
HalfedgeDSItems
CGAL::Polyhedron_3<Traits>
CGAL::HalfedgeDS_items_decorator<HDS>
CGAL::HalfedgeDS_decorator<HDS>
CGAL::HalfedgeDS_const_decorator<HDS>
HalfedgeDS_vector<Traits,HalfedgeDSItems,Alloc> uses internally the STL std::vector container class. We require that we can create a std::vector::iterator from a pointer. If this will not be true any longer for any major STL distribution we might switch to an internal implementation of a vector.
The capacity is restricted to the reserved size. Allocations are not possible beyond the capacity without calling reserve again. All handles and iterators are invalidated upon a reserve call that increases the capacity.
CGAL_ALLOCATOR(int) is used as default argument for the Alloc template parameter.