Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12663: geometry::equals fails when points differ by small value
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-28 13:30:20
#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.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC