Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 2D Segment Voronoi Diagrams

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 2D Segment Voronoi Diagrams


Chronological Thread 
  • From: Federico Perazzi <>
  • To:
  • Subject: Re: [cgal-discuss] 2D Segment Voronoi Diagrams
  • Date: Mon, 20 Jul 2009 02:29:05 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=I1nqcx3kxIpJQDAGVVJXfoGT3B+We6ulX14Lio+ujXtWns5jvogVJcLfZdroUL1IKI RUff1BeG/BnT5svwqWP7E/Bl1VqlRFRD4COx6Xin1s50Dev4F/mPOzXHawJbT8nlcoPB pAdcDFzpW7eEAhvvB8ez0S1oqpoS1hUJBarl0=



On Mon, Jul 20, 2009 at 2:28 AM, Federico Perazzi <> wrote:
Thanks a lot... So I was checking out the delaunay segment diagram and I hope you could help me again...
I  am having hard time to traverse it. I see that there are lot of circulators and iterators but i cannot understand how to use it...

for example i want to circulate it face by face:
    SDG2::Finite_faces_iterator fit = sdg.finite_faces_begin();
    for( ; fit != sdg.finite_faces_end(); fit++)
    {
        SDG2::Face_handle v = fit;
        //where are the reference in the manual for the face handle?
        //what am i supposed to do now with v to get all the vertices of the face?
    }
 
Thanks again
bye



On Sun, Jul 19, 2009 at 3:51 AM, Sylvain Pion <> wrote:
wrote:
Hello, I need the voronoi diagram of a geometric 2D shape in order to calculate its
medial axis. So I was going through the CGAL manual, precisely at :

http://www.cgal.org/Manual/3.1/doc_html/cgal_manual/Segment_Voronoi_diagram_2/Chapter_main.html

and I figured out that i do not have the following headers: - Segment_Voronoi_diagram_filtered_traits_2.h
- Segment_Voronoi_diagram_hierarchy_2.h
 I installed CGAL 3.3.1 using the windows installer and I am running it on Vista
x64 with VS2008.

There has been some renaming of these classes since CGAL 3.1
(it's now Segment_Delaunay_*graph*_2), so you should use
the manual corresponding to the version of CGAL that you use.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page