kleunen / boost_geometry_correct

Advanced correct for boost geometry polygons
32 stars 6 forks source link

equal to zero ,limited to bits #5

Open yulinhuyang opened 2 years ago

yulinhuyang commented 2 years ago

modify like this is ok : if ((boost::geometry::comparable_distance(ring[i], ring.back()) - 0.0 < 1e-22)) {