CGAL 4.8.1 - Planar Parameterization of Triangulated Surface Meshes
|
Functions | |
template<class ParameterizationMesh_3 > | |
Parameterizer_traits_3 < ParameterizationMesh_3 > ::Error_code | CGAL::parameterize (ParameterizationMesh_3 &mesh) |
Compute a one-to-one mapping from a 3D triangle surface mesh to a 2D circle, using Floater Mean Value Coordinates algorithm. More... | |
template<class ParameterizationMesh_3 , class ParameterizerTraits_3 > | |
Parameterizer_traits_3 < ParameterizationMesh_3 > ::Error_code | CGAL::parameterize (ParameterizationMesh_3 &mesh, ParameterizerTraits_3 parameterizer) |
Compute a one-to-one mapping from a 3D triangle surface mesh to a simple 2D domain. More... | |
Parameterizer_traits_3<ParameterizationMesh_3>::Error_code CGAL::parameterize | ( | ParameterizationMesh_3 & | mesh) |
Compute a one-to-one mapping from a 3D triangle surface mesh
to a 2D circle, using Floater Mean Value Coordinates algorithm.
A one-to-one mapping is guaranteed.
The mapping is piecewise linear on the input mesh triangles. The result is a (u,v) pair of parameter coordinates for each vertex of the input mesh.
mesh
must be a surface with one connected component. mesh
must be a triangular mesh. mesh | 3D mesh, model of ParameterizationMesh_3 concept |
#include <CGAL/parameterize.h>
Parameterizer_traits_3<ParameterizationMesh_3>::Error_code CGAL::parameterize | ( | ParameterizationMesh_3 & | mesh, |
ParameterizerTraits_3 | parameterizer | ||
) |
Compute a one-to-one mapping from a 3D triangle surface mesh
to a simple 2D domain.
The mapping is piecewise linear on the triangle mesh. The result is a pair (u,v) of parameter coordinates for each vertex of the input mesh.
One-to-one mapping may be guaranteed or not, depending on the chosen ParametizerTraits_3 algorithm.
mesh
must be a surface with one connected component. mesh
must be a triangular mesh. mesh | 3D mesh, model of ParameterizationMesh_3 |
parameterizer | Parameterization method for mesh |
#include <CGAL/parameterize.h>