Subject: CGAL users discussion list
List archive
Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2 during construction
Chronological Thread
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2 during construction
- Date: Fri, 30 Mar 2007 12:49:37 +0200
You can use your own observer (derived from
CGAL::Arr_observer<Arrangement_2>). Look at face_extension.cpp to see
how it's done for faces.
Wang Weiwei wrote:
>Hi all,
>
>I'm using the Arrangement_2 module of CGAL.
>
>I want to attach some user information to the vertices of the arrangement.
>I've found some example code in the example folder of the CGAL lib (such as
>ex_dcel_extension.C).
>
>Unfortunately, in this example, the user data are attached to the vertices,
>halfedges and faces after the arrangement was built. What I want to know is
>how I can attach these user data to the vertices during the construction of
>the arrangement. For those vertices newly created during the intersection of
>the curves, a pre-specified default value will be ok.
>
>Thanks in advance for any help.
>
>Sorry for the previous message with the subject not correct.
>
>Max
>
>
--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
- voronoi of the vertices, tinavath, 03/20/2007
- <Possible follow-up(s)>
- voronoi of the vertices, tinavath, 03/27/2007
- Re: [cgal-discuss] voronoi of the vertices, Wang Weiwei, 03/28/2007
- [cgal-discuss]Attach user data to the vertices of a Arrangement_2 during construction, Wang Weiwei, 03/28/2007
- Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2 during construction, Efi Fogel, 03/30/2007
- Re: Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2during construction, Wang Weiwei, 03/30/2007
- Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2during construction, Efi Fogel, 03/30/2007
- Re: Re: [cgal-discuss]Attach user data to the vertices of aArrangement_2during construction, Wang Weiwei, 03/31/2007
- Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2during construction, Efi Fogel, 03/30/2007
- Re: Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2during construction, Wang Weiwei, 03/30/2007
- Re: [cgal-discuss]Attach user data to the vertices of a Arrangement_2 during construction, Efi Fogel, 03/30/2007
Archive powered by MHonArc 2.6.16.