public class SimpleSweepLineIntersector extends EdgeSetIntersector
| Constructor and Description |
|---|
SimpleSweepLineIntersector() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeIntersections(List edges0,
List edges1,
SegmentIntersector si)
Computes all mutual intersections between two sets of edges.
|
void |
computeIntersections(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.
|
public void computeIntersections(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(List edges0, List edges1, SegmentIntersector si)
EdgeSetIntersectorcomputeIntersections in class EdgeSetIntersectoredges0 - set of edgesedges1 - set of edgessi - segment intersectorCopyright © 2024. All rights reserved.