refines pm by adding new vertices on edges having their incident vertices associated with values respectively larger and smaller than isovalue in value_map.
refines pm by adding new vertices on edges having their incident vertices associated with values respectively larger and smaller than isovalue in value_map.
The placement of new vertices on edges will be done by linear interpolation using the aforementioned values. New vertices will be associated isovalue in value_map when created. Additionally, new edges will be added by connecting new vertices created sharing a common incident face. Note that in case more than two new vertices are added on a face boundary, no edges will be created in that face.
a model of the concept ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::vertex_descriptor as key type and with its value type being the type of the coordinates of points associated with vertices in the vertex map provided to the vertex_point_map() named parameter.
an optional sequence of Named Parameters among the ones listed below:
Optional Named Parameters
a property map containing the constrained-or-not status of each edge of pm. If an edge marked as constrained is split, the two resulting edges will be marked as constrained.
Type: a class model of ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::edge_descriptor as key type and bool as value type
Default: unused
a property map filled by this function with true for all intersection edges of faces of pm and plane, and false for all other edges.
Type: a class model of WritablePropertyMap with boost::graph_traits<PolygonMesh>::edge_descriptor as key type and bool as value type
Default: unused
a property map filled by this function containing the position of each vertex relative to the oriented plane plane.
Type: a class model of ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::vertex_descriptor as key type and Oriented_side as value type
Default: Dynamic vertex property map
If the input mesh is triangulated and this parameter is set to false, the mesh will be kept triangulated.
Type: Boolean
Default: true
Extra: The function triangulate_faces() can be used to triangule faces before calling this function.
a property map associating points to the vertices of pm
Type: a class model of ReadWritePropertyMap with boost::graph_traits<PolygonMesh>::vertex_descriptor as key type and GeomTraits::Point_3 as value type, GeomTraits being the type of the parameter geom_traits
Default: boost::get(CGAL::vertex_point, pm)
Extra: If this parameter is omitted, an internal property map for CGAL::vertex_point_t must be available in PolygonMesh.