Boost logo

Boost Users :

Subject: Re: [Boost-users] [geometry] intersects bug?
From: Barend Gehrels (barend_at_[hidden])
Date: 2011-07-28 17:00:50


Hi Akira,

On 27-7-2011 3:17, Akira Takahashi wrote:
> Hi,
>
> I try boost::geometry::intersects algorithm(1 arg version) in Boost 1.47.0.
> Follow program result is "false". but, I hope result is "true".
> Is this Boost.Geometry bug?

It is fixed (in Trunk), thanks for the report.

What was happening is that it detected that first/last segment
intersected, which is possible for a linestring (but skipped for a
closed ring). I added a unit test for this case.

Regards, Barend


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net