/// <summary> /// Node the input segment strings once /// and create the split edges between the nodes. /// </summary> /// <param name="segStrings"></param> /// <param name="numInteriorIntersections"></param> private void Node(IList <ISegmentString> segStrings, int[] numInteriorIntersections) { var si = new IntersectionAdder(_li); var noder = new MCIndexNoder(si); noder.ComputeNodes(segStrings); _nodedSegStrings = noder.GetNodedSubstrings(); numInteriorIntersections[0] = si.NumInteriorIntersections; }
/// <summary> /// Node the input segment strings once /// and create the split edges between the nodes. /// </summary> /// <param name="segStrings"></param> /// <param name="numInteriorIntersections"></param> private void Node(IList<ISegmentString> segStrings, int[] numInteriorIntersections) { var si = new IntersectionAdder(_li); var noder = new MCIndexNoder(si); noder.ComputeNodes(segStrings); _nodedSegStrings = noder.GetNodedSubstrings(); numInteriorIntersections[0] = si.NumInteriorIntersections; }