Точки list Add new Point3D list Add new Point3D list Add new Point3D l

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
Точки:
list.Add(new Point3D(5, 5, 5));
list.Add(new Point3D(5.5, 7, 6));
list.Add(new Point3D(7, 5, 5));
list.Add(new Point3D(6, 5, 7));
list.Add(new Point3D(5.5, 1, 6));
list.Add(new Point3D(8, 5, 8));
list.Add(new Point3D(5, 5, 8));
Треугольники:
listTriangle.Add(new Triangle(list[3], list[0], list[2], Color.Blue));
listTriangle.Add(new Triangle(list[0], list[3], list[4], Color.Gray));
listTriangle.Add(new Triangle(list[0], list[2], list[4], Color.Black));
listTriangle.Add(new Triangle(list[2], list[3], list[4], Color.BlueViolet));
listTriangle.Add(new Triangle(list[0], list[4], list[6], Color.DarkBlue));
listTriangle.Add(new Triangle(list[0], list[3], list[6], Color.DarkCyan));
listTriangle.Add(new Triangle(list[4], list[3], list[6], Color.DarkGreen));
listTriangle.Add(new Triangle(list[2], list[3], list[5], Color.DarkKhaki));
listTriangle.Add(new Triangle(list[4], list[3], list[5], Color.DarkMagenta));
listTriangle.Add(new Triangle(list[2], list[4], list[5], Color.DarkOliveGreen));