Subject: CGAL users discussion list
List archive
- From: Philipp Moeller <>
- To:
- Subject: Re: [cgal-discuss] A question on circulators
- Date: Thu, 08 Nov 2012 12:45:55 +0100
- Organization: GeometryFactory
jmt
<>
writes:
> I have a polygon for which I define a circulator :
>
> Polygon::Edge_const_circulator circulator;
>
> When using this circulator to loop over the polygon, the following code
> wont't
> compile :
> std::cout << "Edge, from " << circulator->source() ...
>
> while this code will :
> std::cout << "Edge, from " << (*circulator).source() ...
>
> Is there anything special in circulators that prevents the use
> of the -> operator ?
>
> gcc version 4.7.2 (Debian 4.7.2-4)
> CGAL_VERSION 4.0.2
That is a glitch. The necessary operators are missing. Shouldn't be too
hard to fix yourself, if it is urgent. I'll try to get it patched for
the next release.
- [cgal-discuss] A question on circulators, jmt, 11/08/2012
- Re: [cgal-discuss] A question on circulators, Philipp Moeller, 11/08/2012
Archive powered by MHonArc 2.6.18.