mirror of https://github.com/CGAL/cgal
uncomment add_vertex, and remove add_edge, which is now in Euler_operations
This commit is contained in:
parent
2658576fb2
commit
7a89b6a2ee
|
|
@ -426,8 +426,13 @@ add_vertex(CGAL::Surface_mesh<P>& sm) {
|
|||
return sm.add_vertex();
|
||||
}
|
||||
|
||||
/*
|
||||
template <typename P>
|
||||
typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_descriptor
|
||||
add_vertex(const typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_property_type& p, CGAL::Surface_mesh<P>& sm) {
|
||||
return sm.add_vertex(p);
|
||||
}
|
||||
|
||||
/*
|
||||
// MutableGraph
|
||||
// add a vertex with a default constructed property
|
||||
template <typename P>
|
||||
|
|
@ -436,12 +441,6 @@ add_vertex(CGAL::Surface_mesh<P>& sm) {
|
|||
return sm.add_vertex(typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_property_type());
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_descriptor
|
||||
add_vertex(const typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_property_type& p, CGAL::Surface_mesh<P>& sm) {
|
||||
return sm.add_vertex(p);
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
void
|
||||
clear_vertex(typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_descriptor,
|
||||
|
|
@ -496,17 +495,6 @@ remove_face(typename boost::graph_traits<CGAL::Surface_mesh<P> >::face_descripto
|
|||
sm.remove_face(f);
|
||||
}
|
||||
|
||||
|
||||
/* AF: why a bool??
|
||||
template<typename P>
|
||||
std::pair<typename boost::graph_traits<CGAL::Surface_mesh<P> >::edge_descriptor,
|
||||
bool>
|
||||
add_edge(typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_descriptor v1,
|
||||
typename boost::graph_traits<CGAL::Surface_mesh<P> >::vertex_descriptor v2,
|
||||
CGAL::Surface_mesh<P>& sm) {
|
||||
}
|
||||
*/
|
||||
|
||||
template<typename P>
|
||||
typename boost::graph_traits<CGAL::Surface_mesh<P> >::face_descriptor
|
||||
add_face(CGAL::Surface_mesh<P>& sm)
|
||||
|
|
|
|||
Loading…
Reference in New Issue