Beispiel #1
0
        /// <summary> Node the input segment strings once
        /// and create the split edges between the nodes
        /// </summary>
        private void Node(IList segStrings, int[] numInteriorIntersections)
        {
            IntersectionAdder si    = new IntersectionAdder(li);
            MCIndexNoder      noder = new MCIndexNoder();

            noder.SegmentIntersector = si;

            noder.ComputeNodes(segStrings);

            nodedSegStrings             = noder.NodedSubstrings;
            numInteriorIntersections[0] = si.numInteriorIntersections;
        }
Beispiel #2
0
 public SegmentOverlapAction(MCIndexNoder indexNoder,
                             ISegmentIntersector si)
 {
     m_objIndexNoder = indexNoder;
     this.si         = si;
 }