Changes between Initial Version and Version 1 of Ticket #8652, comment 4


Ignore:
Timestamp:
Aug 28, 2013, 4:06:08 PM (9 years ago)
Author:
Barend Gehrels

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8652, comment 4

    initial v1  
    11The boundaries of double are reached by using coordinates as specified. This results in rounding errors and imprecise results.
    22
    3 The extra point which was generated is fixed in commit 85451 (will be released in Boost 1.55).
     3One of the imprecise points which was generated is fixed in commit 85451 (will be released in Boost 1.55).
    44
    55The output was:
     
    1111Area: 0.0003
    1212
    13 So still not as your expectation but it comes close.
     13So still not as your expectation but it comes closer.
    1414
    15 If you use "long double" (better suited for cases like this), the output is correct:The computed intersection is:
     15If you use "long double" (better suited for cases like this), the output is correct: The computed intersection is:
    1616POLYGON((0.05 0.02,0.05 0,0.02 0,0.05 0.02))
    1717Area: 0.0003