The input data (polygon mesh or polygon soup) represents the polygonal constraints enforced during the triangulation process.By default, each face of the input is considered a polygonal constraint for the triangulation. The named parameter face_patch_map can be used to describe larger polygonal constraints, possibly with holes. If used, this parameter must be a property map that associates each face of the input with a patch identifier. Faces with the same patch identifier are considered part of the same surface patch. Each of these surface patches (defined as the union of the input faces with a given patch identifier) is expected to be a polygon or a polygon with holes, with coplanar vertices (or nearly coplanar up to the precision of the number type used).The generated triangulation will conform to the faces of the input or to the surface patches described by the face_patch_map property map if provided.
An optional sequence of Named Parameters among those listed below.
Optional Named Parameters
A property map associating points with the vertices of mesh.
Type: A class model of ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::vertex_descriptor as the key type and Traits::Point_3 as the value type.
Default: boost::get(CGAL::vertex_point, mesh)
Extra: If this parameter is omitted, an internal property map for CGAL::vertex_point_t must be available in PolygonMesh.
An instance of a geometric traits class.
Type: Traits
Default: The default constructed traits object Traits{}.
A property map associating a patch identifier with each face of mesh.
Type: A class model of ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::face_descriptor as the key type and with any value type that is a regular type (model of Regular).
Extra: If this parameter is omitted, each face of the mesh is considered as a separate patch.
Extra: Faces with the same patch identifier are considered as part of the same surface patch.
returns an iterator to the start of the sequence of constrained facets.
This function provides an iterator to the first facet that is constrained within the triangulation. The sequence of constrained facets is in an arbitrary order.
returns a const reference to the underlying triangulation.
This allows the use of all non-modifying functions of the base triangulation. See the other overload for a way to move the triangulation out of this object and then modify it.