Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="start"></param>
        /// <returns></returns>
        private EdgeString BuildEdgeStringStartingWith(LineMergeDirectedEdge start)
        {
            EdgeString            edgeString = new EdgeString(_factory);
            LineMergeDirectedEdge current    = start;

            do
            {
                edgeString.Add(current);
                current.Edge.Marked = true;
                current             = current.Next;
            }while (current != null && current != start);
            return(edgeString);
        }
Esempio n. 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="start"></param>
 /// <returns></returns>
 private EdgeString BuildEdgeStringStartingWith(LineMergeDirectedEdge start)
 {
     EdgeString edgeString = new EdgeString(_factory);
     LineMergeDirectedEdge current = start;
     do
     {
         edgeString.Add(current);
         current.Edge.Marked = true;
         current = current.Next;
     }
     while (current != null && current != start);
     return edgeString;
 }