Surface Mesh Segmentation
 All Classes Namespaces Files Functions Typedefs Pages
Namespaces | Functions
mesh_segmentation.h File Reference

The API which contains free template functions for SDF computation and mesh segmentation. More...

#include <CGAL/internal/Surface_mesh_segmentation/Surface_mesh_segmentation.h>
#include <boost/config.hpp>
Include dependency graph for mesh_segmentation.h:

Go to the source code of this file.

Namespaces

namespace  CGAL

Functions

template<class Polyhedron , class SDFPropertyMap , class GeomTraits = typename Polyhedron::Traits>
std::pair< double, double > CGAL::compute_sdf_values (const Polyhedron &polyhedron, SDFPropertyMap sdf_values, double cone_angle=2.0/3.0 *CGAL_PI, int number_of_rays=25, GeomTraits traits=GeomTraits())
 Function computing the Shape Diameter Function over a surface mesh.
template<class Polyhedron , class SDFPropertyMap , class SegmentPropertyMap , class GeomTraits = typename Polyhedron::Traits>
int CGAL::segment_from_sdf_values (const Polyhedron &polyhedron, SDFPropertyMap sdf_values, SegmentPropertyMap segment_ids, int number_of_levels=5, double smoothing_lambda=0.26, GeomTraits traits=GeomTraits())
 Function computing the segmentation of a surface mesh given an SDF value per facet.
template<class Polyhedron , class SegmentPropertyMap , class GeomTraits = typename Polyhedron::Traits>
int CGAL::compute_sdf_values_and_segment (const Polyhedron &polyhedron, SegmentPropertyMap segment_ids, double cone_angle=2.0/3.0 *CGAL_PI, int number_of_rays=25, int number_of_levels=5, double smoothing_lambda=0.26, GeomTraits traits=GeomTraits())
 Function computing the segmentation of a surface mesh.

Detailed Description

The API which contains free template functions for SDF computation and mesh segmentation.