1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use super::super::Edge;
use super::SegmentIntersector;
use crate::{Coordinate, GeoFloat};
use std::cell::RefCell;
use std::rc::Rc;
pub(crate) trait EdgeSetIntersector<F: GeoFloat> {
fn compute_intersections_within_set(
&mut self,
edges: &[Rc<RefCell<Edge<F>>>],
check_for_self_intersecting_edges: bool,
segment_intersector: &mut SegmentIntersector<F>,
);
fn compute_intersections_between_sets(
&mut self,
edges0: &[Rc<RefCell<Edge<F>>>],
edges1: &[Rc<RefCell<Edge<F>>>],
segment_intersector: &mut SegmentIntersector<F>,
);
}