\( \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.11 - Planar Parameterization of Triangulated Surface Meshes
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

Enumerations

enum  CGAL::Surface_mesh_parameterization::Error_code {
  CGAL::Surface_mesh_parameterization::OK, CGAL::Surface_mesh_parameterization::ERROR_EMPTY_MESH, CGAL::Surface_mesh_parameterization::ERROR_NON_TRIANGULAR_MESH, CGAL::Surface_mesh_parameterization::ERROR_NO_TOPOLOGICAL_DISC,
  CGAL::Surface_mesh_parameterization::ERROR_BORDER_TOO_SHORT, CGAL::Surface_mesh_parameterization::ERROR_NON_CONVEX_BORDER, CGAL::Surface_mesh_parameterization::ERROR_CANNOT_SOLVE_LINEAR_SYSTEM, CGAL::Surface_mesh_parameterization::ERROR_NO_1_TO_1_MAPPING,
  CGAL::Surface_mesh_parameterization::ERROR_WRONG_PARAMETER
}
 List of errors detected by this package. More...
 
enum  CGAL::Surface_mesh_parameterization::Weight_type { Cotangent = 0, Mean_value }
 Weight type used in the parameterization computation. More...
 

Enumeration Type Documentation

List of errors detected by this package.

#include <CGAL/Surface_mesh_parameterization/Error_code.h>

Enumerator
OK 

Success.

ERROR_EMPTY_MESH 

Input mesh is empty.

ERROR_NON_TRIANGULAR_MESH 

Input mesh is not triangular.

ERROR_NO_TOPOLOGICAL_DISC 

Input mesh is not a topological disc.

ERROR_BORDER_TOO_SHORT 

This border parameterization requires a longer border.

ERROR_NON_CONVEX_BORDER 

This parameterization method requires a convex border.

ERROR_CANNOT_SOLVE_LINEAR_SYSTEM 

Cannot solve linear system.

ERROR_NO_1_TO_1_MAPPING 

Parameterization failed: no one-to-one mapping.

ERROR_WRONG_PARAMETER 

A method received an unexpected parameter.

Examples:
Surface_mesh_parameterization/discrete_authalic.cpp, and Surface_mesh_parameterization/square_border_parameterizer.cpp.

Weight type used in the parameterization computation.

MVC weights are guaranteed to generate positive edge weights, and the parameterization is guaranteed to be injective.

In case the cotangent weights are used, the orbifold-Tutte embedding globally minimizes the Dirichlet energy and approximates conformal mappings.

#include <CGAL/Surface_mesh_parameterization/Orbifold_Tutte_parameterizer_3.h>