Changes between Initial Version and Version 1 of Ticket #11789, comment 2


Ignore:
Timestamp:
Jan 26, 2016, 2:31:41 AM (7 years ago)
Author:
awulkiew

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11789, comment 2

    initial v1  
    11This assertion fails because `expand()` function is called for Points containing very big integral coordinates. The reason is that currently, by default, floating-point coordinates are rescaled into integral coordinates internally in set operations and these integral coordinates are passed into `expand()` to calculate BoundingBoxes. This probably also means that since these coordinates are normalized, the result is not correct.
    22
    3 To fix it we could disable the rescaling, or internally always use cartesian geometries (Points and Boxes) when rescaling was enabled.
     3To fix it we could disable the rescaling entirely or for non-cartesian coordinate systems, or always use cartesian `robust_point_type` in rescale policy.
    44
    55To work around it, for now you could disable the rescaling by defining `BOOST_GEOMETRY_NO_ROBUSTNESS`.