Halfedge_data_structure_using_vector<V,H,F> is a model of the Halfedge_data_structure concept. It is parameterized with a model of the Vertex_base concept, a model of the Halfedge_base concept, and a model of the Facet_base concept, whose requirements can be found in Section . Predefined models can be found in Section .
Halfedge_data_structure_using_vector<V,H,F> uses an STL std::vector to store the elements. This implies random access iterators to access the elements, but no support for random insertions and deletions. The capacity is restricted to the reserved size. Allocations are not possible beyond the capacity without calling reserve again. All pointers, iterators and circulators are invalidated upon a reserve call that increases the capacity. (This restriction might be dropped in the future and the polyhedron will automatically reallocate if the capacity exceeds.)
#include <CGAL/Halfedge_data_structure_using_vector.h>
It supports all types required for the Halfedge_data_structure concept, specifically the following two types are fixed.
|
|
|
| ||
|
Halfedge_data_structure_using_vector<V,H,F> complies to the requirements for the concept Halfedge_data_structure as stated in Section .
It uses STL std::vector to implement the internal storage.