Subject: CGAL users discussion list
List archive
- From: "Christian Friedrich" <>
- To:
- Subject: Re: [cgal-discuss] Retrieve the Edges of a Delaunay Triangulation
- Date: Tue, 19 Feb 2008 12:46:42 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=v2qe+XwOyOyR5rx0qmhCv6RSZX/sj2XqG5C/2yUkjyAp/CX9jpRuL2iwcGytRmLHrRrEiGi0IOrz/xicjLnCe4rv4D02/DWCkx60nfazspQCTBIKkV2bzGoIsRWeC4oyayAdZ/arqvHL9R3IC4ZnOTLBHQRDN7EUXbYmrEYi0tA=
Thanks again, the manual made me believe otherwise but it works like a charm. I'm surprised that even though it seems to iterate over all edges of all cells, there are no double edges returned.
Well as long as it works ;)
Cheers,
Christian
On Feb 19, 2008 11:40 AM, Daniel Duque Campayo <> wrote:
On Tuesday 19 February 2008 11:32:50 wrote:There is an edge iterator:
> And, another question:
>
> Is is possible to get a list of all Edges of the Delaunay Triangulation?
> I saw in the manual that there are only Vertices and Cells stored in the
> Triangulation, but maybe there is a smart way of iterating through all
> Edges?
typedef Triangulation::Edge_iterator Edge_iterator;
for ( F_edges_iterator ed = T.finite_edges_begin();
ed !=T.finite_edges_end(); ++ed) {
...
}
See, e.g.:
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/TriangulationDS_3_ref/Concept_TriangulationDataStructure_3.html
Best,
Daniel
--
Daniel Duque
http://rincon.uam.es/dir?cw=950067138671875--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
--
Best Regards,
Christian Friedrich MSc ing
Phd candidate
Technische Universiteit Delft
Hyperbody
www.hyperbody.bk.tudelft.nl
Berlageweg 1
2628 CR Delft
kab. 1.37
T: +31 (0)15 27 85954
M: +31 (0)6 16 43 1661
E:
- Retrieve the Edges of a Delaunay Triangulation, h . c . friedrich, 02/19/2008
- Re: [cgal-discuss] Retrieve the Edges of a Delaunay Triangulation, Daniel Duque Campayo, 02/19/2008
- Re: [cgal-discuss] Retrieve the Edges of a Delaunay Triangulation, Christian Friedrich, 02/19/2008
- Re: [cgal-discuss] Retrieve the Edges of a Delaunay Triangulation, Daniel Duque Campayo, 02/19/2008
Archive powered by MHonArc 2.6.16.