Boost C++ Libraries: Ticket #10398: Offsetting polygons with buffer strategies fails for some distances https://svn.boost.org/trac10/ticket/10398 <p> When offsetting polygons using buffer strategies, it fails (i.e. the result is empty) for some distances. </p> <p> For instance, for a given polygon, offsetting works with a given distance, but fails with another one. </p> <p> A sample code which illustrates the problem is attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10398 Trac 1.4.3 Olivier Tournaire <olivier.tournaire@…> Mon, 25 Aug 2014 09:10:38 GMT attachment set https://svn.boost.org/trac10/ticket/10398 https://svn.boost.org/trac10/ticket/10398 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main_boost_geometry_polygon_offset_problem.cpp</span> </li> </ul> <p> Offsetting with buffer strategies for several polygons and distances </p> Ticket Olivier Tournaire <olivier.tournaire@…> Mon, 25 Aug 2014 09:29:47 GMT <link>https://svn.boost.org/trac10/ticket/10398#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10398#comment:1</guid> <description> <p> Notes: </p> <ul><li>Boost 1.56 </li><li>Windows 64bit </li><li>VC++ 2010 SP1 </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Barend Gehrels</dc:creator> <pubDate>Wed, 27 Aug 2014 08:41:38 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/10398#comment:2 https://svn.boost.org/trac10/ticket/10398#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Barend Gehrels Wed, 27 Aug 2014 10:38:01 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/10398#comment:3 https://svn.boost.org/trac10/ticket/10398#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.57.0</span> </li> </ul> <p> Fixed in branch feature/buffer (to be merged with develop soon). </p> <p> Cause: adjacency check was wrong </p> <p> Fix: </p> <ul><li><a class="ext-link" href="https://github.com/boostorg/geometry/commit/c42aeb44472b76d849c792d0b8922e406ab83210"><span class="icon">​</span>https://github.com/boostorg/geometry/commit/c42aeb44472b76d849c792d0b8922e406ab83210</a> </li><li><a class="ext-link" href="https://github.com/boostorg/geometry/commit/02ae40805c55c43835adea70ae666f6dcd5e1cf4"><span class="icon">​</span>https://github.com/boostorg/geometry/commit/02ae40805c55c43835adea70ae666f6dcd5e1cf4</a> </li></ul> Ticket