public class SimpleEdgeSetIntersector extends EdgeSetIntersector
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
nOverlaps |
| Constructor and Description |
|---|
SimpleEdgeSetIntersector() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeIntersections(java.util.List edges0,
java.util.List edges1,
SegmentIntersector si)
Computes all mutual intersections between two sets of edges.
|
void |
computeIntersections(java.util.List edges,
SegmentIntersector si,
boolean testAllSegments)
Computes all self-intersections between edges in a set of edges,
allowing client to choose whether self-intersections are computed.
|
private void |
computeIntersects(Edge e0,
Edge e1,
SegmentIntersector si)
Performs a brute-force comparison of every segment in each Edge.
|
public void computeIntersections(java.util.List edges,
SegmentIntersector si,
boolean testAllSegments)
EdgeSetIntersectorcomputeIntersections in class EdgeSetIntersectoredges - a list of edges to test for intersectionssi - the SegmentIntersector to usetestAllSegments - true if self-intersections are to be tested as wellpublic void computeIntersections(java.util.List edges0,
java.util.List edges1,
SegmentIntersector si)
EdgeSetIntersectorcomputeIntersections in class EdgeSetIntersectorprivate void computeIntersects(Edge e0, Edge e1, SegmentIntersector si)