use of com.revolsys.geometry.geomgraph.index.SimpleMCSweepLineIntersector in project com.revolsys.open by revolsys.
the class EdgeSetNoder method getNodedEdges.
public List getNodedEdges() {
final EdgeSetIntersector esi = new SimpleMCSweepLineIntersector();
final SegmentIntersector si = new SegmentIntersector(this.li, true, false);
esi.computeIntersections(this.inputEdges, si, true);
// Debug.println("has proper int = " + si.hasProperIntersection());
final List splitEdges = new ArrayList();
for (final Iterator i = this.inputEdges.iterator(); i.hasNext(); ) {
final Edge e = (Edge) i.next();
e.getEdgeIntersectionList().addSplitEdges(splitEdges);
}
return splitEdges;
}
Aggregations