/// <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); }
/// <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; }