Boost logo

Geometry :

Subject: Re: [geometry] Breaking change on distance strategies
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-07-17 10:51:00


Hi Bruno,

On 15-7-2013 0:55, Bruno Lalande wrote:
>
>
> FYI, I have just submitted a change (85040) that breaks the interface
> of the distance strategies. Generally speaking, the change is that
> those strategies no longer need to be templated with the point type -
> a strategy can work on any point type once instantiated.

Thanks for this!

One thing, the PointDistanceStrategy Concept call does not compile for
Windows. The messages says it cannot convert the parameters (which are
not there at all...). The syntax is conform the previous syntax, be it
that the apply method is now templated. It seems OK to me and it
compiles OK for gcc and clang. But for Windows it does not, it might be
a compiler error.

See also the Boost test overview, or more specificly:

http://www.boost.org/development/tests/trunk/developer/output/teeks99-03c-win2008-64on64-boost-bin-v2-libs-geometry-test-strategies-haversine-test-msvc-10-0-debug-asynch-exceptions-on.html

I will look at it later.

I updated the extension andoyer, which is fine now (except for problem
above), still have to do vincenty and check more.

Regards, Barend


Geometry list run by mateusz at loskot.net