mirror of https://github.com/CGAL/cgal
26 lines
517 B
C++
26 lines
517 B
C++
#include <CGAL/Surface_mesh/Surface_mesh.h>
|
|
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
|
|
|
|
|
typedef CGAL::Exact_predicates_inexact_constructions_kernel Epick;
|
|
|
|
int main()
|
|
{
|
|
CGAL::Surface_mesh<CGAL::Epick::Point_3> mesh;
|
|
auto f0 = mesh.add_face();
|
|
mesh.add_face();
|
|
mesh.remove_face(f0);
|
|
|
|
auto v0 = mesh.add_vertex();
|
|
mesh.add_vertex();
|
|
mesh.remove_vertex(v0);
|
|
|
|
auto e0 = mesh.add_edge();
|
|
mesh.add_edge();
|
|
mesh.remove_edge(edge(e0,mesh));
|
|
|
|
|
|
mesh.collect_garbage();
|
|
|
|
return 0;
|
|
} |