Exemplo n.º 1
0
 /// <summary>
 /// Computes the noding for a collection of <see cref="SegmentString" />s.
 /// Some Noders may add all these nodes to the input <see cref="SegmentString" />s;
 /// others may only add some or none at all.
 /// </summary>
 /// <param name="inputSegmentStrings"></param>
 public void ComputeNodes(IList inputSegmentStrings)
 {
     this.nodedSegStrings = inputSegmentStrings;
     noder = new MCIndexNoder();
     pointSnapper = new MCIndexPointSnapper(noder.MonotoneChains, noder.Index);
     SnapRound(inputSegmentStrings, li);            
 }
Exemplo n.º 2
0
 /// <summary>
 /// Computes the noding for a collection of <see cref="SegmentString" />s.
 /// Some Noders may add all these nodes to the input <see cref="SegmentString" />s;
 /// others may only add some or none at all.
 /// </summary>
 /// <param name="inputSegmentStrings"></param>
 public void ComputeNodes(IList inputSegmentStrings)
 {
     this.nodedSegStrings = inputSegmentStrings;
     noder        = new MCIndexNoder();
     pointSnapper = new MCIndexPointSnapper(noder.MonotoneChains, noder.Index);
     SnapRound(inputSegmentStrings, li);
 }