EMODnet Quantized Mesh Generator for Cesium
Typedefs | Functions
detect_features_without_borders.cpp File Reference

Detects sharp edges in a surface mesh without including border edges (PMP::sharp_edges_segmentation includes them) More...

#include <iostream>
#include <fstream>
#include <map>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <boost/program_options.hpp>
#include "cgal/detect_sharp_edges_without_borders.h"
#include "cgal/extract_polylines_from_sharp_edges.h"

Typedefs

typedef CGAL::Simple_cartesian< double > Kernel
 
typedef Kernel::Point_3 Point_3
 
typedef std::vector< Point_3 > Polyline
 
typedef CGAL::Surface_mesh< Point_3 > Surface_mesh
 
typedef boost::graph_traits< Surface_mesh >::vertex_descriptor vertex_descriptor
 
typedef boost::graph_traits< Surface_mesh >::halfedge_descriptor halfedge_descriptor
 
typedef boost::graph_traits< Surface_mesh >::edge_descriptor edge_descriptor
 
typedef std::vector< Polyline > Polylines
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Detects sharp edges in a surface mesh without including border edges (PMP::sharp_edges_segmentation includes them)

Note that this example uses the Surface_mesh class (and its internal property_maps system). For an example on how to use the same functions with the Polyhedron_3 class, see the function imposeConstraints from the TinCreationSimplificationPointSet class.

Author
Ricard Campos (ricar.nosp@m.dcd@.nosp@m.gmail.nosp@m..com)