Changes between Initial Version and Version 1 of Ticket #8652, comment 4
- Timestamp:
- Aug 28, 2013, 4:06:08 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8652, comment 4
initial v1 1 1 The boundaries of double are reached by using coordinates as specified. This results in rounding errors and imprecise results. 2 2 3 The extra pointwhich was generated is fixed in commit 85451 (will be released in Boost 1.55).3 One of the imprecise points which was generated is fixed in commit 85451 (will be released in Boost 1.55). 4 4 5 5 The output was: … … 11 11 Area: 0.0003 12 12 13 So still not as your expectation but it comes close .13 So still not as your expectation but it comes closer. 14 14 15 If you use "long double" (better suited for cases like this), the output is correct: The computed intersection is:15 If you use "long double" (better suited for cases like this), the output is correct: The computed intersection is: 16 16 POLYGON((0.05 0.02,0.05 0,0.02 0,0.05 0.02)) 17 17 Area: 0.0003