private Point getPoints double cube Point ps new Point for int cube Ge

1
2
3
4
5
6
7
8
9
private Point[] getPoints(double[,] cube)
{
Point[] ps = new Point[8];
for (int i = 0; i < cube.GetLength(0); ++i)
{
ps[i] = new Point((int)cube[i, 0], (int)cube[i, 1]);
}
return ps;
}