Go to the documentation of this file.
13 #include <boost/graph/graph_traits.hpp>
14 #include <CGAL/boost/graph/iterator.h>
15 #include <CGAL/boost/graph/Euler_operations.h>
34 template<
typename MutableFaceGraph >
38 typename boost::graph_traits< MutableFaceGraph >::halfedge_descriptor &h)
41 std::cout <<
"Warning: using CGAL::Euler::collapse_edge()"
65 template<
typename MutableFaceGraph >
69 typename boost::graph_traits< MutableFaceGraph >::halfedge_descriptor &h)
71 typedef boost::graph_traits< MutableFaceGraph > GraphTraits;
72 typedef typename GraphTraits::halfedge_descriptor halfedge_descriptor;
74 halfedge_descriptor ho =
opposite(h, g);
void collapse_edge_keep_target_euler(MutableFaceGraph &g, typename boost::graph_traits< MutableFaceGraph >::halfedge_descriptor &h)
Collapse an edge of the graph. The edge to collapse is given as a halfedge. The halfedge target verte...
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor opposite(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor h, const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the halfedge with source and target swapped.
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor edge(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor h, const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the edge corresponding to h and opposite(h).
void collapse_edge_keep_source_euler(MutableFaceGraph &g, typename boost::graph_traits< MutableFaceGraph >::halfedge_descriptor &h)
Collapse an edge of the graph. The edge to collapse is given as a halfedge. The halfedge source verte...
Interfaces for plugins These interfaces will be used for different plugins.