use of com.revolsys.geometry.noding.SinglePassNoder in project com.revolsys.open by revolsys.
the class SimpleSnapRounder method findInteriorIntersections.
/**
* Computes all interior intersections in the collection of {@link SegmentString}s,
* and returns their {@link Coordinates}s.
*
* Does NOT node the segStrings.
*
* @return a list of Point for the intersections
*/
private List findInteriorIntersections(final Collection segStrings, final LineIntersector li) {
final InteriorIntersectionFinderAdder intFinderAdder = new InteriorIntersectionFinderAdder(li);
final SinglePassNoder noder = new MCIndexNoder();
noder.setSegmentIntersector(intFinderAdder);
noder.computeNodes(segStrings);
return intFinderAdder.getInteriorIntersections();
}
Aggregations