Subject: CGAL users discussion list
List archive
- From: Panagiotis Foteinos <>
- To:
- Subject: Re: Re: [cgal-discuss] Triangulate polygon with holes
- Date: Fri, 12 Feb 2010 12:35:48 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YiU2WB1mkFSGQjN6sdhFEYhea4qT+h05y6hclwtez2rdNzLTbJ0C9I08p5/quKlesO bp5jp3lY6emGFGhOKmWE+Y1Rcr4Her6ZWFwxRL4dhkkXc6Lh3MfDKeltUDw7vHk3dkJh JJOI1tIrbJ95DvjuDaYx83LHIn8RF8qHZRxxo=
You can find information about the infinite vertex and infinite faces in the manual under triangulations. It is a technique that allows for more flexible data structure; there is no physical meaning.
You do not traverse the faces with an iterator. I did not say that.
You will start from a facet, say f, that lies inside the hole you wanna delete (there is a query for that), and then you will traverse the neighbors of f, and then its neighbors' neighbors (using indices), only if (a) you do not traverse a facet twice, and (b) the neighbors are not separated by a constrained edge (since otherwise you traverse a facet outside the hole). Of course, every time you visit a face you tag it as "outside" using face_base_with_info class. When you output your triangulation at the end, you ignore faces that are tagged as "outside".
On Fri, Feb 12, 2010 at 10:13 AM, Agnel C J Kurian <> wrote:
Panagiotis,
I understand that I can traverse all faces using a face iterator. But how do I
test a face against a constraint? And where can I read more about this elusive
"infinite vertex"?
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] Triangulate polygon with holes, Agnel C J Kurian, 02/10/2010
- Re: [cgal-discuss] Triangulate polygon with holes, Panagiotis Foteinos, 02/11/2010
- Re: Re: [cgal-discuss] Triangulate polygon with holes, Agnel C J Kurian, 02/12/2010
- Re: Re: [cgal-discuss] Triangulate polygon with holes, Panagiotis Foteinos, 02/12/2010
- Re: Re: [cgal-discuss] Triangulate polygon with holes, Agnel C J Kurian, 02/12/2010
- Re: [cgal-discuss] Triangulate polygon with holes, Panagiotis Foteinos, 02/11/2010
Archive powered by MHonArc 2.6.16.