you have to store the color per halfedge - just make sure that
he->opposite() is assigned the same value each time he is assigned.
Bill Conan a écrit :
> hello guys,
> there is no "edge data structure" in the polyhedron_item_3 class, so
> how can i assigned each edge a color value?
> the naive way is to give each halfedge a color attribute and let the
> colors of the halfedges on an edge be the same.
> but in this case, the edge colors are redundant.
> so i'm wondering if there is any wiser and concise way of doing this?
> thank you very much.