id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13179,geometry::covered_by and geometry::within not working for certain values,Stanley ,Barend Gehrels,"''covered_by'' and ''within'' return false even if the point is obviously located within the polygon, as the following code demonstrates: {{{ #!c++ #include #include #include #include #include typedef boost::geometry::model::d2::point_xy Point; typedef boost::geometry::model::polygon Polygon; int main() { std::cout << ""Running Boost in version "" << BOOST_VERSION << std::endl; Polygon polygon; std::vector points; points.emplace_back(Point(68.3, 35.5)); points.emplace_back(Point(68.3, 35.6)); points.emplace_back(Point(70.3, 35.9)); points.emplace_back(Point(70.3, 35.8)); Point point(69.2, 35.7); boost::geometry::assign_points(polygon, points); std::cout << ""Point is covered by polygon: "" << boost::geometry::covered_by(point, polygon) << std::endl; std::cout << ""Point is within by polygon: "" << boost::geometry::within(point, polygon) << std::endl; return 0; } }}} which gives: {{{ Running Boost in version 106500 Point is covered by polygon: 0 Point is within by polygon: 0 }}}",Bugs,new,To Be Determined,geometry,Boost 1.65.0,Problem,,,