id summary reporter owner description type status milestone component version severity resolution keywords cc 12663 geometry::equals fails when points differ by small value anonymous Barend Gehrels "It seems the geometry::equals function is very strict when dealing w/ floating point precision. I have 2 polygons that are the same except for one point (15.0, 10.0) vs (14.9999999999, 10.0), but geometry::equals returns false. I don't know if this is a bug or the expected behavior. What is the tolerance and is there a way to specify it? bg_polygon polygon1; boost::geometry::read_wkt(""POLYGON((10.0 10.0, 10.0 20.0, 15.0 20.0, 14.9999999999 10.0, 10.0 10.0))"", polygon1); bg_polygon polygon2; boost::geometry::read_wkt(""POLYGON((10.0 10.0, 10.0 20.0, 15.0 20.0, 15.0 10.0, 10.0 10.0))"", polygon2); boost::geometry::equals(polygon1, polygon2); --> returns false " Support Requests new To Be Determined geometry Boost 1.61.0 Problem equals