Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] member "first" of a facet iterator

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] member "first" of a facet iterator


Chronological Thread 
  • From: Manuel Caroli <>
  • To:
  • Subject: Re: [cgal-discuss] member "first" of a facet iterator
  • Date: Mon, 23 Feb 2009 11:22:41 +0100

Hi,

it is not a member of the facet iterator but rather of the facet: As you
can find in the manual a facet is represented as
std::pair<Cell_handle,int>:
http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/TriangulationDS_3/Chapter_main.html#TDS3-sec-intro

This should make it clear.

best

Manuel

Query Cgal wrote:
> Hi.
>
> When I am using a facet iterator of a triangulation, I found that there
> is a member called first which can be used in the following way.
>
> itr -> first -> vertex(0);
>
> where itr is a facet iterator of a triangulation
>
> It seems that it returns a vertex of a triangular face. But I am not
> sure if it is true.
>
> Therefore, I have tried to search the CGAL manual for that.
> However, I cannot find anything thing about the member "first" of the
> facet iterator.
>
> Actually, what is itr -> first?
> Is it anything that is supposed to be used by us ?
>
> Thank you
>
>
>
>
> ------------------------------------------------------------------------
> Yahoo!香港提供網上安全攻略,教你如何防範黑客!*了解更多*
> <http://hk.promo.yahoo.com/security/>




Archive powered by MHonArc 2.6.16.

Top of Page