CGAL 6.1.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
STL_Extension/unordered_map.cpp
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <boost/unordered_map.hpp>
typedef CGAL::Simple_cartesian<double> Kernel;
typedef Kernel::Point_3 Point_3;
typedef CGAL::Surface_mesh<Point_3> Mesh;
typedef boost::graph_traits<Mesh>::vertex_descriptor vertex_descriptor;
int main()
{
boost::unordered_map<vertex_descriptor, int> bum;
Mesh mesh;
vertex_descriptor vd = mesh.add_vertex();
bum[vd] = 7812;
return 0;
}
CGAL::Surface_mesh
CGAL::Surface_mesh::add_vertex
Vertex_index add_vertex()
Kernel::Point_3
Kernel
CGAL::Simple_cartesian