|
CGAL 6.3 - Planar Parameterization of Triangulated Surface Meshes
|
Parameterizer_3 is a concept of parameterization object for a given type of mesh, TriangleMesh, which must be a model of the FaceGraph concept.
Border parameterizers are also models of this concept but they only parameterize the border of a given mesh.
Creation
Construction and destruction are undefined.
Types | |
| typedef unspecified_type | TriangleMesh |
| A given polygon mesh type, TriangleMesh, which is a model of the FaceGraph concept. | |
Operations | |
| template<typename VertexUVMap, typename VertexIndexMap, typename VertexParameterizedMap> | |
| Error_code | parameterize (const TriangleMesh &mesh, halfedge_descriptor bhd, VertexUVMap uvmap, VertexIndexMap vimap, VertexParameterizedMap vpmap) |
| Assign a 2D position (i.e. a (u, v) pair) on the shape to (some of) the vertices of the mesh. | |
| Error_code Parameterizer_3::parameterize | ( | const TriangleMesh & | mesh, |
| halfedge_descriptor | bhd, | ||
| VertexUVMap | uvmap, | ||
| VertexIndexMap | vimap, | ||
| VertexParameterizedMap | vpmap ) |
Assign a 2D position (i.e. a (u, v) pair) on the shape to (some of) the vertices of the mesh.
Mark them as parameterized.
| VertexUVmap | must be a model of ReadWritePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and Point_2 (type deduced from TriangleMesh using Kernel_traits) as value type. |
| VertexIndexMap | must be a model of ReadablePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and a unique integer as value type. |
| VertexParameterizedMap | must be a model of ReadWritePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and a Boolean as value type. |
| mesh | a triangulated surface. |
| bhd | a halfedge descriptor on the boundary of mesh. |
| uvmap | an instantiation of the class VertexUVmap. |
| vimap | an instantiation of the class VertexIndexMap. |
| vpmap | an instantiation of the class VertexParameterizedMap. |