CGAL::Parameterization_mesh_feature_extractor<ParameterizationMesh_3>

Definition

The class Parameterization_mesh_feature_extractor computes features (genus, borders, ...) of a 3D surface, model of the ParameterizationMesh_3 concept.

#include <CGAL/Parameterization_mesh_feature_extractor.h>

Parameters

The full template declaration is:

template<
class ParameterizationMesh_3>
class Parameterization_mesh_feature_extractor;

Types

Parameterization_mesh_feature_extractor<ParameterizationMesh_3>::Adaptor
Export ParameterizationMesh_3 template parameter.

Parameterization_mesh_feature_extractor<ParameterizationMesh_3>::Border
Type representing a border = STL container of vertex handles.

Parameterization_mesh_feature_extractor<ParameterizationMesh_3>::Skeleton
Type representing the list of all borders of the mesh = STL container of Border elements.

Creation

Parameterization_mesh_feature_extractor<ParameterizationMesh_3> extractor ( Adaptor& mesh);
Constructor. CAUTION: This class caches the result of feature extractions => The caller must NOT modify 'mesh' during the Parameterization_mesh_feature_extractor life cycle.

Operations

int extractor.get_nb_borders ()
Get number of borders.
Skeleton extractor.get_borders ()
Get extracted borders. The longest border is the first one.
Border extractor.get_longest_border ()
Get longest border.
int extractor.get_nb_connex_components ()
Get # of connected components.
int extractor.get_genus ()
Get the genus.

See Also

ParameterizationMesh_3

Example

See Mesh_cutting_parameterization.C example.