POSTUP:

1) T1 - SPOJOVÁNÍ

1

2

4

3

2) Nové body řezu ... 1,2,3,4

KONEC

D = (-2, -2, 0)
C = (-2, 2, 0)
g = Ray(D, C)
R = Point(g)
B = (2, 2, 0)
a, D_2, A, F, G, H, E, faceABEF, faceAFJG, faceABHG, faceBEIH, faceEFJI, faceGHIJ, edgeAF, edgeAB, edgeBE, edgeEF, edgeAG, edgeFJ, edgeGJ, edgeGH, edgeBH, edgeHI, edgeEI, edgeIJ = Cube(B, C, xOyPlane)
f = Ray(D, A)
Q = Point(f)
V = Midpoint(H, F)
b = Segment(A, V)
c = Segment(B, V)
d = Segment(C, V)
e = Segment(D, V)
P = Point(e)
h = Segment(Q, P)
j = Segment(R, Q)
i = Segment(P, R)
I = Intersect(b, h)
C_1 = (2, -2, 0)
M = Intersect(j, edgeAB)
J = Intersect(edgeAF, j)
L = Intersect(i, d)
K: M
k = Segment(I, J)
l = Segment(J, K)
m = Segment(K, L)
n = Segment(L, P)
p = Segment(P, I)
N = Intersect(k, b)
mnohoúhelník1, i_1, j_1, k_1, l_1, p_1 = Polygon(I, J, K, L, P)