Boost logo

Boost Users :

Subject: Re: [Boost-users] Assigning vertex properties
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-07 21:48:01

> 1.
> I never really understood how to use the property maps
> correctly/efficienty, but I've found using "bundled properties" fairly
> straightforward.
> Like so:
> documentation:
> 2.
> if you want/need to use unsigned ints as vertex descriptors then you
> need to store the vertices in a vector, like so:

Thanks all. This example shows two methods of setting an int property
(both using a "bundled property", but different syntax/method to
address the vertices):


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at