joan wrote On 6-11-2013 15:58:
I have a geometry that self intersects when using intersects (one geometry)
by should not.
<http://boost-geometry.203548.n3.nabble.com/file/n4025738/selfintersectissue_boost.png>
This is the polygon that produce the self intersection :
polygon myBoostPolygon;
boost::geometry::read_wkt("POLYGON((137.14632454923444
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;
}
Hi Joan,
This has been fixed, just submitted. Thanks again for the report.
Regards, Barend
_______________________________________________
Geometry mailing list
Geometry@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/geometry