rgeometry icon indicating copy to clipboard operation
rgeometry copied to clipboard

fix get_visibility_polygon with Point<f64>

Open yjh0502 opened this issue 2 years ago • 0 comments

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.

yjh0502 avatar Aug 21 '22 09:08 yjh0502