Re: [Boost-bugs] [Boost C++ Libraries] #11789: Boost 1.59.0: geometry::intersection() asserts for spherical_equatorial coordinate system

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11789: Boost 1.59.0: geometry::intersection() asserts for spherical_equatorial coordinate system
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-25 19:48:51


#11789: Boost 1.59.0: geometry::intersection() asserts for spherical_equatorial
coordinate system
---------------------------------------+---------------------------
  Reporter: Dave Stacey <drstacey@…> | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+---------------------------

Comment (by awulkiew):

 This 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.

 To fix it we could disable the rescaling, or internally always use
 cartesian geometries (Points and Boxes) when rescaling was enabled.

 To work around it, for now you could disable the rescaling by defining
 `BOOST_GEOMETRY_NO_ROBUSTNESS`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11789#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC