Boost logo

Geometry :

Subject: Re: [geometry] boost::geometry::difference(multilinestring, polygon)
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-02-04 13:42:56

Hi Volker,

On 4-2-2013 12:30, Volker Schöch wrote:
> Hi,
> boost::geometry::difference is implemented for multi-linestring and polygon in boost 1.52.0, but it is not implemented in 1.48.0. We still have a legacy project that cannot easily be updated to use the newer boost versions. Do you have any suggestion how I could use geometry from 1.48.0 to perform the same calculation?

Either you could use Boost.Geometry from 1.52 or 1.53, by creating a
separate Boost folder with just Geometry and point to that folder first
in your include paths. Boost 1.52 should work with Boost 1.48 (as far as
I remember, did not check recently).

Or you could use it by just overwriting the geometry folder (from 1.48)
with the newest geometry folder...

Figuring out which files changed to implement the new behaviour is also
possible but (much) more work.

Regards, Barend

Geometry list run by mateusz at