[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    Re: [Boost-bugs] [Boost C++ Libraries] #12663: geometry::equals fails when points differ by small va
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2016-12-28 13:30:20
Message-ID: 057.552a2b1d6797b7f7acb5798aeee2f1d8 () lists ! boost ! org
[Download RAW message or body]

#12663: geometry::equals fails when points differ by small value
-------------------------------+---------------------------
  Reporter:  anonymous         |      Owner:  barendgehrels
      Type:  Support Requests  |     Status:  new
 Milestone:  To Be Determined  |  Component:  geometry
   Version:  Boost 1.61.0      |   Severity:  Problem
Resolution:                    |   Keywords:  equals
-------------------------------+---------------------------
Changes (by awulkiew):

 * type:  Bugs => Support Requests


Comment:

 Yes, this is expected. Points are compared WRT machine epsilon scaled by
 the greater coordinate absolute value. Currently it's not possible to pass
 user-defined epsilon value into algorithms which could be used in Point
 comparisons. It'd be possible to implement custom coordinate type with
 comparison operator using greater epsilon but this way this comparison
 method would be used in every case, not only when Points were compared.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12663#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic