コード例 #1
0
 public static void DrawMesh(this DrawingDesc desc, Mesh mesh, Pen pen)
 {
     foreach (var item in mesh.Lines)
     {
         desc.AddLine((float)item.P1.X1, (float)item.P1.X2, (float)item.P2.X1, (float)item.P2.X2, pen);
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: OsAnYa/GeneticAlgorithm
 public Form1()
 {
     InitializeComponent();
         desc = new DrawingDesc(pictureBox1);
 }
コード例 #3
0
 public static void DrawGeneration(this DrawingDesc desc, Generation generation, Pen pen)
 {
 }
コード例 #4
0
 public Form1()
 {
     InitializeComponent();
     desc = new DrawingDesc(pictureBox1);
 }