\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.4 - Planar Parameterization of Triangulated Surface Meshes
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Parameterization_mesh_feature_extractor< ParameterizationMesh_3 > Class Template Reference

#include <CGAL/Parameterization_mesh_feature_extractor.h>

Definition

Public Types

typedef ParameterizationMesh_3 Adaptor
 Export ParameterizationMesh_3 template parameter.
 
typedef std::list< typename
Adaptor::Vertex_handle
Border
 Type representing a border = STL container of vertex handles.
 
typedef std::vector< Border * > Skeleton
 Type representing the list of all borders of the mesh = STL container of Border elements. More...
 

Public Member Functions

 Parameterization_mesh_feature_extractor (Adaptor &mesh)
 Constructor. More...
 
int get_nb_borders ()
 Get number of borders.
 
const Skeletonget_borders ()
 Get extracted borders. More...
 
const Borderget_longest_border ()
 Get longest border.
 
int get_nb_connex_components ()
 Get # of connected components.
 
int get_genus ()
 Get the genus.
 

Member Typedef Documentation

template<class ParameterizationMesh_3 >
typedef std::vector<Border*> CGAL::Parameterization_mesh_feature_extractor< ParameterizationMesh_3 >::Skeleton

Type representing the list of all borders of the mesh = STL container of Border elements.

Constructor & Destructor Documentation

Constructor.

Attention
This class caches the result of feature extractions => The caller must not modify mesh during the Parameterization_mesh_feature_extractor life cycle.

Member Function Documentation

template<class ParameterizationMesh_3 >
const Skeleton& CGAL::Parameterization_mesh_feature_extractor< ParameterizationMesh_3 >::get_borders ( )

Get extracted borders.

The longest border is the first one.