Subject: Re: [geometry] intersects (one geometry) possible issue
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-11-10 17:48:54
joan wrote On 6-11-2013 15:58:
> I have a geometry that self intersects when using intersects (one geometry)
> by should not.
> This is the polygon that produce the self intersection :
> polygon myBoostPolygon;
> 200.61927877947369,50 224, 323 497,255 169,137.14632454923444
> 200.61927877947369))", myBoostPolygon);
> //check if boundary segments doesn't intersect with the polygon
> if (boost::geometry::intersects(myBoostPolygon))
> cout << "Self intersects !" << endl;
This is surprising, indeed not the intention. I can reproduce it.
Thanks for the report and reproduction, will be repaired.
Geometry list run by mateusz at loskot.net