コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="outstream"></param>
 public virtual void WriteEdges(StreamWriter outstream)
 {
     outstream.WriteLine("Edges:");
     for (int i = 0; i < _edges.Count; i++)
     {
         outstream.WriteLine("edge " + i + ":");
         Edge e = (Edge)_edges[i];
         e.Write(outstream);
         e.EdgeIntersectionList.Write(outstream);
     }
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="outstream"></param>
 public virtual void WriteEdge(StreamWriter outstream)
 {
     Write(outstream);
     outstream.Write(" ");
     if (_isForward)
     {
         Edge.Write(outstream);
     }
     else
     {
         Edge.WriteReverse(outstream);
     }
 }