|
Geometry : |
Subject: Re: [geometry] intersects (one geometry) possible issue
From: joan ABADIE (joan.abadie_at_[hidden])
Date: 2013-11-13 04:48:11
Barend,
Thanks very much for your quick support.
Joan
2013/11/11 Barend Gehrels <barend_at_[hidden]>
> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/geometry
>
Geometry list run by mateusz at loskot.net