![]() |
EMODnet Quantized Mesh Generator for Cesium
|
Modification of the example in CGAL (4.9) for simplifying a mesh maintaining border edges, located at: CGAL/examples/Surface_mesh_simplification/edge_collapse_constrained_border_surface_mesh.cpp. More...
#include <iostream>
#include <fstream>
#include <map>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/boost/graph/graph_traits_Surface_mesh.h>
#include <CGAL/Surface_mesh_simplification/edge_collapse.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Midpoint_placement.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Constrained_placement.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_stop_predicate.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_ratio_stop_predicate.h>
#include <boost/program_options.hpp>
Classes | |
struct | Border_is_constrained_edge_map |
Typedefs | |
typedef CGAL::Simple_cartesian< double > | Kernel |
typedef Kernel::Point_3 | Point_3 |
typedef CGAL::Surface_mesh< Point_3 > | Surface_mesh |
typedef boost::graph_traits< Surface_mesh >::halfedge_descriptor | halfedge_descriptor |
typedef boost::graph_traits< Surface_mesh >::edge_descriptor | edge_descriptor |
typedef SMS::Constrained_placement< SMS::Midpoint_placement< Surface_mesh >, Border_is_constrained_edge_map > | Placement |
Functions | |
int | main (int argc, char **argv) |
Modification of the example in CGAL (4.9) for simplifying a mesh maintaining border edges, located at: CGAL/examples/Surface_mesh_simplification/edge_collapse_constrained_border_surface_mesh.cpp.
This version provides more user parameters to tune.