Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter
Chronological Thread
- From: Kazuyo Mizuno <>
- To:
- Subject: Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter
- Date: Thu, 13 Nov 2014 16:32:12 +0900
Hi Alex
Thank you for your reply.
Your example is helpful and my problem was solved.
Thank you so much.
Regards,
--
Kazuyo
2014-11-12 16:13 GMT+09:00 Alex Tsui
<>:
> Hello,
>
> Please have a look at the example:
> http://doc.cgal.org/latest/Triangulation_2/Triangulation_2_2info_insert_with_pair_iterator_2_8cpp-example.html
>
> Here, the vertex is extended to hold an unsigned int.
>
> You can do the same thing for the faces. For example (just modified the
> above example):
> https://gist.github.com/alextsui05/a2d805a9a6f9635d44fb
>
> Please post code you might have trouble with.
>
> Good luck,
>
> --Alex
>
> On Mon, Nov 10, 2014 at 10:54 PM, Kazuyo Mizuno
> <>
> wrote:
>>
>> Hello all.
>> I'm currently implementing a program using 2D voronoi diagram adapter
>> described as follows.
>> http://doc.cgal.org/latest/Voronoi_diagram_2/index.html
>>
>> I want to add information (ex: ID number) to each face/vertex of
>> voronoi diagram.
>>
>> I have tried to use following class but failed.
>>
>> http://doc.cgal.org/latest/Triangulation_2/classCGAL_1_1Triangulation__vertex__base__with__info__2.html
>>
>> Is there any way to do so?
>>
>> Regards
>>
>> ---
>> Kazuyo Mizuno
>>
>> --
>> You are currently subscribed to cgal-discuss.
>> To unsubscribe or access the archives, go to
>> https://sympa.inria.fr/sympa/info/cgal-discuss
>>
>>
>
- [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter, Kazuyo Mizuno, 11/11/2014
- Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter, Alex Tsui, 11/12/2014
- Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter, Kazuyo Mizuno, 11/13/2014
- Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter, Alex Tsui, 11/12/2014
Archive powered by MHonArc 2.6.18.