
I am not sure. My graph is defined thus: // Declarations of properties enum vertex_pnt_t { vertex_pnt = 0 }; namespace boost { BOOST_INSTALL_PROPERTY( vertex, pnt);} enum vertex_isinside_t { vertex_isinside = 1 }; namespace boost { BOOST_INSTALL_PROPERTY( vertex, isinside );} // Declarations for my dual graph typedef boost::property<vertex_pnt_t, gp_Pnt, boost::property<vertex_isinside_t, Standard_Boolean, boost::property<boost::vertex_index_t, int> > > VertexProp; typedef boost::property<boost::edge_index_t, int> EdgeProp; typedef boost::adjacency_list<boost::listS, boost::listS, boost::undirectedS, VertexProp, EdgeProp > TMESH_ConnectivityGraph; Torsten
Torsten,
How would you change the vertex descriptor struct? From my original example, would the following be on the right track?
template<class Graph> struct VertInfo { string name; typename Graph::vertex_index_t index; }; _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users