File "/Users/alex/PycharmProjects/fast_api_chess/poly_point_isect.py", line 616, in isect_segments
return isect_segments_impl(segments, include_segments=False, validate=validate)
File "/Users/alex/PycharmProjects/fast_api_chess/poly_point_isect.py", line 598, in isect_segments_impl
sweep_line.handle(p, events_current)
File "/Users/alex/PycharmProjects/fast_api_chess/poly_point_isect.py", line 391, in handle
self.handle_event(e)
File "/Users/alex/PycharmProjects/fast_api_chess/poly_point_isect.py", line 431, in handle_event
if self.remove(e):
File "/Users/alex/PycharmProjects/fast_api_chess/poly_point_isect.py", line 353, in remove
assert(event.in_sweep == False)
AssertionError
Does anyone have a clue why these lines causes this assertion to not pass ?
Thanks in advance!