rgeometry
rgeometry copied to clipboard
fix get_visibility_polygon with Point<f64>
get_visibility_polygon
sometimes crashes with Point<f64>
due to
floating point error. With Point<f64>
, return value from
get_intersaction
might be a little closer or further than original
vertex when intersection result is Crossing
, which results in invalid
polygon_points
and crash.