x_{1,2}

A_1

B_1

C_1

D_1

V_1

V_2

a_2

a_1

B_2

C_2

A_2

D_2

R_1

R_2

P_2

P_1

r_1

r_2

P_2'

P_1'

p_1^\rho

I

II

X_1

Y_1

I'

II'

X_2

Y_2

\textrm{Sestrojte průsečíky přímky }a\textrm{ s jehlanem, jehož podstava }ABCD\textrm{ leží v půdorysně.}

X_1 = Point(xAxis)
X_2 = Point(xAxis)
a = Segment(X_1, X_2)
A_1 = (-2.96, -0.58)
B_1 = (-4.86, -2.26)
b = Segment(A_1, B_1)
c = OrthogonalLine(A_1, b)
d = OrthogonalLine(B_1, b)
D_1 = Point(c)
e = Line(D_1, b)
C_1 = Intersect(d, e)
f = Segment(A_1, D_1)
g = Segment(C_1, B_1)
h = Segment(C_1, D_1)
V_1 = (2.36, -2.08)
i = Segment(A_1, V_1)
j = Segment(D_1, V_1)
k = Segment(V_1, B_1)
l = Segment(C_1, V_1)
m = OrthogonalLine(V_1, a)
V_2 = Point(m)
n = Segment(V_2, V_1)
pos = 16 (slider from 0 to 16, step 1)
P_2 = Point(a)
X_4 = (-3.54, 5.08)
p = Segment(P_2, X_4)
X_5 = Point(a)
X_6 = (1.2, -5.42)
q = Segment(X_5, X_6)
r = OrthogonalLine(D_1, a)
s = OrthogonalLine(A_1, a)
t = OrthogonalLine(C_1, a)
a_1 = OrthogonalLine(B_1, a)
B_2 = Intersect(a, a_1)
C_2 = Intersect(a, t)
A_2 = Intersect(a, s)
D_2 = Intersect(a, r)
b_1 = Segment(B_2, B_1)
c_1 = Segment(C_2, C_1)
d_1 = Segment(A_1, A_2)
e_1 = Segment(D_1, D_2)
f_1 = Segment(B_2, V_2)
g_1 = Segment(C_2, V_2)
h_1 = Segment(A_2, V_2)
i_1 = Segment(D_2, V_2)
R_1 = Point(q)
j_1 = OrthogonalLine(R_1, a)
R_2 = Intersect(p, j_1)
k_1 = Segment(R_2, R_1)
l_1 = OrthogonalLine(P_2, a)
P_1 = Intersect(l_1, q)
m_1 = Segment(P_2, P_1)
n_1 = Ray(V_2, R_2)
X_7 = Point(xAxis)
p_1 = Segment(X_1, X_7)
P_2' = Intersect(n_1, p_1)
q_1 = Segment(V_2, P_2')
r_1 = Ray(V_1, R_1)
X_8 = Intersect(r_1, p_1)
s_1 = Segment(V_1, X_8)
t_1 = OrthogonalLine(P_2', a)
P_1' = Intersect(s_1, t_1)
a_2 = Segment(P_2', P_1')
b_2 = Segment(P_1', P_1)
M_1 = Intersect(b, b_2)
N_1 = Intersect(h, b_2)
Y = Intersect(l, b_2)
c_2 = Segment(P_1', M_1)
d_2 = Segment(M_1, N_1)
e_2 = Segment(N_1, Y)
f_2 = Segment(Y, P_1)
g_2 = Segment(M_1, V_1)
h_2 = Segment(N_1, V_1)
X_1' = Intersect(g_2, q)
Y_1' = Intersect(h_2, q)
Y' = Intersect(l, q)
i_2 = Segment(X_5, X_1')
j_2 = Segment(X_1', Y_1')
k_2 = Segment(Y_1', Y')
l_2 = Segment(Y', X_6)
mnohoúhelník1, v_1, m_2, n_2 = Polygon(M_1, N_1, V_1)
p_2 = OrthogonalLine(M_1, a)
q_2 = OrthogonalLine(N_1, a)
r_2 = OrthogonalLine(X_1', a)
s_2 = OrthogonalLine(Y_1', a)
A = Intersect(a, p_1)
M_2 = Intersect(a, p_2)
N_2 = Intersect(q_2, a)
X_2' = Intersect(r_2, p)
Y_2' = Intersect(s_2, p)
t_2 = Segment(M_1, M_2)
a_3 = Segment(N_1, N_2)
b_3 = Segment(M_2, V_2)
c_3 = Segment(N_2, V_2)
Y'' = Intersect(f_1, p)
d_3 = Segment(X_4, Y'')
e_3 = Segment(Y'', X_2')
f_3 = Segment(X_2', Y_2')
g_3 = Segment(Y_2', P_2)
mnohoúhelník2, v_2, m_3, n_3 = Polygon(M_2, N_2, V_2)