Date: 15 4 月 2013

1

2

3

4

5

6

7

邊長為1的正方形

邊長為2的正方形

邊長為3的正方形

邊長為4的正方形

邊長為5的正方形

邊長為6的正方形

邊長為7的正方形

O = (3.44, -2.24)
list2 = Sequence(Segment[O + (0, i), O + (8, i)], i, 0, 8)
list = Sequence(Segment[O + (i, 0), O + (i, 8)], i, 0, 8)
lista = Sequence(Sequence[O + (j, k), j, 0, 7], k, 0, 7)
A = Point(lista)
poly1, b, a, c, d = Polygon(A, A + (1, 0), A + (1, 1), A + (0, 1))
listb = Sequence(Sequence[O + (j, k), j, 1, 7], k, 1, 7)
B = Point(listb)
poly2, e, f, g, h = Polygon(B - (1, 1), B + (1, -1), B + (1, 1), B - (1, -1))
listc = Sequence(Sequence[O + (j, k), j, 0, 5], k, 0, 5)
C = Point(listc)
poly3, i, j, k, l = Polygon(C, C + (3, 0), C + (3, 3), C + (0, 3))
listd = Sequence(Sequence[O + (j, k), j, 2, 6], k, 2, 6)
D = Point(listd)
poly4, m, n, p, q = Polygon(D - (2, 2), D + (2, -2), D + (2, 2), D + (-2, 2))
o = false
r = false
s = false
t = false
u = false
v = false
w = false
liste = Sequence(Sequence[O + (j, k), j, 0, 3], k, 0, 3)
E = Point(liste)
poly5, f_1, a_1, b_1, c_1 = Polygon(E, E + (5, 0), E + (5, 5), E + (0, 5))
listf = Sequence(Sequence[O + (j, k), j, 3, 5], k, 3, 5)
F = Point(listf)
poly6, d_1, e_1, g_1, h_1 = Polygon(F - (3, 3), F + (3, -3), F + (3, 3), F + (-3, 3))
listg = Sequence(Sequence[O + (j, k), j, 0, 1], k, 0, 1)
G = Point(listg)
poly7, h_2, i_1, j_1, k_1 = Polygon(G, G + (7, 0), G + (7, 7), G + (0, 7))