|
Geometry : |
Subject: [ggl] Proposal for Delauney triangulation algorithm
From: Simonson, Lucanus J (lucanus.j.simonson)
Date: 2011-10-20 19:43:42
-----Original Message-----
From: ggl-bounces_at_[hidden] [mailto:ggl-bounces_at_[hidden]] On Behalf Of Barend Gehrels
Sent: Thursday, October 20, 2011 2:41 PM
To: Generic Geometry Library Discussion
Subject: Re: [ggl] Proposal for Delauney triangulation algorithm
>About bringing the libraries more together, I agree and would like that.
>But I don't think Boost.Geometry should depend on Boost.Polygon, because
>of compilation on different platforms and other things (don't remember
>the details but there are platforms on which Boost.Polygon could not be
>used, is that still the case?).
The freescale and similar mobile processor compilers don't support SFINAE and can't compile Polygon. Clang also currently fails, but I don't know why. The sun compiler fails also.
>I agree that maintaining two versions is not a good idea, so wrapping
>the Voronoi with interfaces sounds as a good approach. I've seen
>screenshots and a presentation on Andrii's work but don't know the details.
It may have changed recently, but last I looked the core algorithm implementation didn't depend on my SFINAE based interfaces and could be included directly without including the rest of Polygon. You could then wrap that without having to include any of the header files that contain SFINAE based interfaces that don't compile on non-compliant compilers.
Regards,
Luke
Geometry list run by mateusz at loskot.net