computeNodes method

void computeNodes(
  1. List inputSegmentStrings
)
override

Computes the noding for a collection of {@link SegmentString}s. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.

@param segStrings a collection of {@link SegmentString}s to node

Implementation

void computeNodes(List inputSegmentStrings) {
  this.nodedSegStrings = inputSegmentStrings;
  noder = new MCIndexNoder.empty();
  pointSnapper = new MCIndexPointSnapper(noder.getIndex() as STRtree);
  snapRound(inputSegmentStrings, li);

  // testing purposes only - remove in final version
  //checkCorrectness(inputSegmentStrings);
}