13 #include <boost/fusion/iterator/next.hpp>
14 #include <boost/fusion/include/next.hpp>
15 #include <boost/next_prior.hpp>
16 #include <boost/graph/graph_traits.hpp>
28 template<
typename MutableFaceGraph >
29 typename boost::graph_traits< MutableFaceGraph >::edge_descriptor
32 typedef boost::graph_traits< MutableFaceGraph > GraphTraits;
33 typedef typename GraphTraits::vertex_iterator vertex_iterator;
35 typedef typename GraphTraits::edge_descriptor edge_descriptor;
44 edge_descriptor result;
46 boost::tie(result, found) =
edge(src, dst, g);
49 return GraphTraits::null_edge();
64 template<
typename MutableFaceGraph>
65 typename boost::graph_traits<MutableFaceGraph>::edge_descriptor
69 typedef boost::graph_traits<MutableFaceGraph> GraphTraits;
70 typedef typename GraphTraits::edge_iterator edge_iterator;
71 typedef typename GraphTraits::edge_descriptor edge_descriptor;
73 edge_iterator e =
edges(g).first;
75 edge_descriptor result = *
boost::next(e, edge_index);