Priečka mimobežiek idúca bodom

h

P

P_0

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, stenaABFE, stenaBCGF, stenaCDHG, stenaADHE, stenaEFGH, hranaAB, hranaBC, hranaCD, hranaAD, hranaAE, hranaBF, hranaCG, hranaDH, hranaEF, hranaFG, hranaGH, hranaEH = Prism(A, B, C, D, E)
I = (-0.16069880397324, -0.5216615068027934, 2.196298729016233)
f = OrthogonalLine(I, xOyPlane)
J = Intersect(f, xOyPlane)
p = Line(A, D)
n = Line(A, J)
i = Line(A, J)
g = Line(B, F)