u: (1, 0, 0)
pzx = Plane(zAxis, xAxis)
A1 = PointIn(pzx)
A3 = PointIn(pzx)
A4: A3 - (x(A3 - A1) * u)
A2: A1 + (x(A3 - A1) * u)
v: (0, 1, 0)
w: (0, 0, 1)
PXY = (-6, -8, 0)
f = Line(PXY, w)
finestra, f1, f2, f3, f4 = Polygon(A1, A2, A3, A4)
PZ = Point(f)
r1 = Ray(PZ, A1)
r2 = Ray(PZ, A2)
r3 = Ray(PZ, A3)
r4 = Ray(PZ, A4)
pxy = Plane(xAxis, yAxis)
B1 = Intersect(r1, pxy)
B2 = Intersect(r2, pxy)
B3 = Intersect(r3, pxy)
B4 = Intersect(r4, pxy)
luce, b1, b2, b3, b4 = Polygon(B1, B2, B3, B4)
i = Segment(PXY, PZ)
s1 = Segment(PZ, B1)
s2 = Segment(PZ, B2)
s3 = Segment(PZ, B3)
s4 = Segment(PZ, B4)