Boost C++ Libraries: Ticket #13014: buffer returns invalid geometries when used with asymmetric distances on the same side https://svn.boost.org/trac10/ticket/13014 <p> Using buffer with distances (2/-1) or (-1/2) should generate a polygon that lies beside the original linestring. </p> <p> But, since the direction is only determined for both sides (in buffer_inserter, checking negative() for the distance strategy, which returns only true if both sides are negative), the inner of both sides is calculated wrong. </p> <p> Maybe buffer_inserter could check nageative() for each side separately, and only reverse one side before stitching both sides together? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13014 Trac 1.4.3 anonymous Mon, 08 May 2017 09:21:55 GMT attachment set https://svn.boost.org/trac10/ticket/13014 https://svn.boost.org/trac10/ticket/13014 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">Unbenannt.png</span> </li> </ul> <p> red is input linestring, yellow resulting buffer </p> Ticket anonymous Wed, 31 May 2017 08:41:03 GMT attachment set https://svn.boost.org/trac10/ticket/13014 https://svn.boost.org/trac10/ticket/13014 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">buffer.png</span> </li> </ul> Ticket