Rez na kocke Metóda AB

\text{Metóda spájania}

1. \text{ Sú dané body rezu }K, L, M

2.\text{ Body }K, L ∈ ABF ⇒ \text{existujú body }  1∈\overleftrightarrow{AE}, 2∈\overleftrightarrow{AB 

1

2

3.\text{ Body }2, M ∈ ABC ⇒ \text{existujú body }  3∈\overleftrightarrow{BC},4∈\overleftrightarrow{AD}

3

4

6

5

4.\text{ Body }1, 4 ∈ ADH ⇒ \text{existujú body }  5∈\overleftrightarrow{EH},6∈\overleftrightarrow{DH}

7

8

5.\text{ Body }7,8

Rovina

Kocka

A = (-3, -3, 0)
B = (2, -3, 0)
C = Point(Circle[B, Distance[A, B], Segment[A, B]])
a, D, E, F, G, H, stenaABCD, stenaADHE, stenaABFE, stenaBCGF, stenaCDHG, stenaEFGH, hranaAD, hranaAB_{1}, hranaBC, hranaCD, hranaAE, hranaDH, hranaEH, hranaEF, hranaBF, hranaFG, hranaCG, hranaGH = Cube(A, B, C)
f = Ray(F, E)
g = Ray(F, B)
h = Ray(D, C)
K = Point(f)
L = Point(g)
M = Point(h)
i = Line(E, A)
j = Line(A, B)
k = Line(K, L)
I = Intersect(i, k)
J = Intersect(j, k)
l = Line(J, M)
m = Line(B, C)
n = Line(D, A)
N = Intersect(m, l)
O = Intersect(l, n)
p = Line(O, I)
q = Line(E, H)
r = Line(H, D)
P = Intersect(p, r)
Q = Intersect(q, p)
s = Line(M, P)
t = Line(H, G)
b = Line(G, C)
R = Intersect(s, b)
S = Intersect(s, t)
p_1 = Plane(K, L, M)
mnohouholník2, T, U, V, W, Z, A_1, e, f_1, g_1, h_1, k_1, l_1 = IntersectPath(p_1, a)
c = false
d = false