Skip to content

Commit

Permalink
Remove redundant function
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Feb 6, 2020
1 parent f33206a commit 03e9ab7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bentley_ottmann/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,14 +475,6 @@ def segments_intersections(segments: Sequence[Segment],
return result


def _events_to_segments_ids_pairs(events: Dict[Point, Set[Event]]
) -> Set[Tuple[int, int]]:
return set(chain.from_iterable(
_to_pairs_combinations(_merge_ids(*[event.segments_ids
for event in point_events]))
for _, point_events in events.items()))


def _sweep(segments: Sequence[Segment],
*,
accurate: bool) -> Iterable[Tuple[Point, Tuple[Event, Event]]]:
Expand Down

0 comments on commit 03e9ab7

Please sign in to comment.