Boost logo

Geometry :

Subject: Re: [geometry] Problems performing boolean operations on polygons with shared edges
From: Oleg Evseev (ev.mipt_at_[hidden])
Date: 2016-04-13 18:54:44


Hi, Barend!

I've tried to use boost 1.61.0 beta for my case. And instead of getting
problems with zero areas, I'm getting really wrong result - union ignore
one of the mpolygons (without exceptions). I created ticket with WKT
https://svn.boost.org/trac/boost/ticket/12125

Illustration: https://s16.postimg.org/9wcp31ik5/union+1.61.0+bug.png
appended mpolygon (the red one - two trinangles) is ignored. union result
is equal to current path (the yellow one - two trinangles)

Maybe this is caused by the shared point of two trinangels in one
multipolygon?

2016-04-11 1:25 GMT+03:00 Oleg Evseev <ev.mipt_at_[hidden]>:

> > and std::fixed if needed, so:
> > std::cout << std::setprecision(20) << std::fixed << bg::wkt(g) <<
> std::endl;
>
> Thank you, Barend and Adam!
>
> Barend, I've added WKT representation with greater precision to my ticket
> https://svn.boost.org/trac/boost/ticket/12118
>

-- 
С Уважением,
Евсеев Олег.


Geometry list run by mateusz at loskot.net