Ejemplo n.º 1
0
        /// <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 segStrings, int[] numInteriorIntersections)
        {
            IntersectionAdder si    = new IntersectionAdder(_li);
            McIndexNoder      noder = new McIndexNoder(si);

            noder.ComputeNodes(segStrings);
            _nodedSegStrings            = noder.GetNodedSubstrings();
            numInteriorIntersections[0] = si.NumInteriorIntersections;
        }
Ejemplo n.º 2
0
 /// <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 segStrings, int[] numInteriorIntersections)
 {
     IntersectionAdder si = new IntersectionAdder(_li);
     McIndexNoder noder = new McIndexNoder(si);
     noder.ComputeNodes(segStrings);
     _nodedSegStrings = noder.GetNodedSubstrings();
     numInteriorIntersections[0] = si.NumInteriorIntersections;
 }