Changes between Initial Version and Version 4 of Ticket #633


Ignore:
Timestamp:
Jun 12, 2013, 1:36:53 AM (11 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #633 – Description

    initial v4  
    66should likely read '''Position::RIGHT'''.
    77
     8As shown in the test case, the problem is that for the given LINESTRING:
     9
     10{{{
     11LINESTRING (665.7317504882812500 133.0762634277343700, 1774.4752197265625000 19.9391822814941410, 756.2413940429687500 466.8306579589843700, 626.1337890625000000 1898.0147705078125000, 433.8007202148437500 404.6052856445312500)
     12}}}
     13
     14right-side curve has 0 vertices:
     15
     16{{{
     17BufferParameters params;
     18params.setJoinStyle(BufferParameters::JOIN_MITRE);
     19params.setMitreLimit(5.57F); // somewhere between 5.5 and 5.6
     20params.setSingleSided(true);
     21BufferBuilder builder(params);
     22builder.bufferLineSingleSided(input, distance, true);  // 5-vertex output
     23builder.bufferLineSingleSided(input, distance, false); // 0-vertex output
     24}}}
     25
     26
    827However, attempt to fix those causes unit tests failures for the buffer operation.