Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to give each edge a color attribute?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to give each edge a color attribute?


Chronological Thread 
  • From: Pierre Alliez <>
  • To:
  • Subject: Re: [cgal-discuss] how to give each edge a color attribute?
  • Date: Fri, 20 Jun 2008 09:43:51 +0200
  • Organization: INRIA

hi Bill,

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.




Archive powered by MHonArc 2.6.16.

Top of Page