SimpleEdgeSetIntersector
, SimpleMCSweepLineIntersector
, SimpleSweepLineIntersector
public abstract class EdgeSetIntersector
extends java.lang.Object
SegmentIntersector
to compute the intersections between
segments and to record statistics about what kinds of intersections were found.Constructor | Description |
---|---|
EdgeSetIntersector() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
computeIntersections(java.util.List edges0,
java.util.List edges1,
SegmentIntersector si) |
Computes all mutual intersections between two sets of edges.
|
abstract 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.
|
public abstract void computeIntersections(java.util.List edges, SegmentIntersector si, boolean testAllSegments)
edges
- a list of edges to test for intersectionssi
- the SegmentIntersector to usetestAllSegments
- true if self-intersections are to be tested as wellpublic abstract void computeIntersections(java.util.List edges0, java.util.List edges1, SegmentIntersector si)
Copyright © 2018. All rights reserved.