CGAL 4.5 - Planar Parameterization of Triangulated Surface Meshes
|
#include <CGAL/Parameterization_mesh_feature_extractor.h>
The class Parameterization_mesh_feature_extractor computes features (genus, borders, ...) of a 3D surface, model of the ParameterizationMesh_3 concept.
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 Skeleton & | get_borders () |
Get extracted borders. More... | |
const Border & | get_longest_border () |
Get longest border. | |
int | get_nb_connex_components () |
Get # of connected components. | |
int | get_genus () |
Get the genus. | |
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.
CGAL::Parameterization_mesh_feature_extractor< ParameterizationMesh_3 >::Parameterization_mesh_feature_extractor | ( | Adaptor & | mesh) |
Constructor.
mesh
during the Parameterization_mesh_feature_extractor life cycle. const Skeleton& CGAL::Parameterization_mesh_feature_extractor< ParameterizationMesh_3 >::get_borders | ( | ) |
Get extracted borders.
The longest border is the first one.