Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Facets_iterator

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Facets_iterator


Chronological Thread 
  • From: "M. Hazegh" <>
  • To:
  • Subject: Re: [cgal-discuss] Facets_iterator
  • Date: Sat, 4 Oct 2008 15:55:02 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=Fvbng4OA56bAJVYR+MAlQThU9Nk9eKo3XteBwDbbV+bsvB7IHpWPzNRwkAUZ9cvxPV Q3v7eMaULjwytrf769v2wjL3+TBemBfeuMPqWIDLUCu76P05WeYssa4olcr2YT8OTIMC m1LLv/2NH9o6bTheTLl2qEESeVuOmOpR3rNz0=

Your code will iterate through all faces of the triangulation. since
"it" is pointing to the current face, then
CGAL::to_double(it->vertex(i).x())
will return the x coordinate of the i'th vertex. For a triangle i = 0, 1, 2

If you want to iterate through all vertices of the triangulation, you
can use a Vertex_iterator. See the manual for more info.

On Sat, Oct 4, 2008 at 2:41 PM, Dennis Endt
<>
wrote:
> Can anyone plz tell me how to read the the points of a facet?
>
> I tried to use this:
>
> for(Triangulation::Finite_facets_iterator it = T.finite_facets_begin();
> it != T.finite_facets_end(); it++)
> {
> }
>
> But I didn`t find anything then to read the points with their coordinates.
>
> And what is the difference between finite and not finite faces/edges ...?
>
> I`m very thankful for every helpful information.
>
>
>
> --
> 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