com.vividsolutions.jts.geomgraph.index
Class SimpleEdgeSetIntersector
public class SimpleEdgeSetIntersector
Finds all intersections in one or two sets of edges,
using the straightforward method of
comparing all segments.
This algorithm is too slow for production use, but is useful for testing purposes.
SimpleEdgeSetIntersector
public SimpleEdgeSetIntersector()
computeIntersections
public 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.
- computeIntersections in interface EdgeSetIntersector
edges
- a list of edges to test for intersectionssi
- the SegmentIntersector to usetestAllSegments
- true if self-intersections are to be tested as well