Priesečník priamky a telesa

h

S = (0, 0, 0)
Hrana = 2.5 (slider from 2 to 3, step 0.5)
h: (2 * Hrana)
text1: "Veľkosť hrany kocky   " + h + ""
B: (Hrana, (-Hrana), 0)
C: (Hrana, Hrana, 0)
D: ((-Hrana), Hrana, 0)
A: ((-Hrana), (-Hrana), 0)
E: ((-Hrana), (-Hrana), (2 * Hrana))
e, F, G, H, stenaABCD_1, stenaABFE, stenaBCGF, stenaCDHG, stenaADHE, stenaEFGH, hranaAB_1, hranaBC_1, hranaCD_1, hranaAD_1, hranaAE, hranaBF, hranaCG, hranaDH, hranaEF, hranaFG, hranaGH, hranaEH = Prism(A, B, C, D, E)
f = Line(E, G)
g = Line(H, F)
i = Ray(D, A)
j = Ray(F, G)
K = Point(i)
M = Point(j)
k = Line(K, M)