\text{ Zostrojte priesečníky priamky }PQ \text{ s kockou }

 \text{Postup

A = (-3, -3, 0)
B = (3, -3, 0)
C = Point(Circle[B, Distance[A, B], Segment[A, B]])
K, D, E, F, G, H, stenaABCD, stenaADHE, stenaABFE, stenaBCGF, stenaCDHG, stenaEFGH, hranaAD, hranaAB, hranaBC, hranaCD, hranaAE, hranaDH, hranaEH, hranaEF, hranaBF, hranaFG, hranaCG, hranaGH = Cube(A, B, C)
f = Ray(A, B)
P = Point(f)
g = Ray(G, H)
I = (-9, 3, -1.7763568394002505E-15)
h = OrthogonalLine(I, xOyPlane)
Q = Intersect(h, g)
i = Line(Q, P)