|
Geometry : |
Subject: Re: [geometry] Using Boost.Geometry with a legacy class hierarchy
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-02-18 06:16:45
Hi Mats,
On 17-2-2012 12:10, Mats Taraldsvik wrote:
> Hi,
>
> With the help of boost::iterator_facade and stackoverflow.com [1],
> I've almost managed to adapt the Ring concept to my legacy objects,
> but I got a compile time error which I don't understand. As you can
> see from the code, the iterator exposes QPoint* objects directly, so
> that should work properly.
>
> The cpp files and the errors from the build log is here [2].
>
> [1]
> http://stackoverflow.com/questions/9251537/how-to-create-a-boost-range-that-hides-multiple-layers-of-vectors-and-exposes-it
> [2] https://gist.github.com/1852693
Nice that StackOverflow was of help!
I just had a quick look and verified if the point-pointer-example could
stream wkt (it can). Will look later in more detail because don't
understand it yet either.
Regards, Barend
Geometry list run by mateusz at loskot.net