|
Boost Users : |
From: Torsten Sadowski (tsadowski_at_[hidden])
Date: 2008-05-05 18:34:23
>
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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net