立體測量 (13)
Author: 藍邦偉  老師

x

y

z

單位向量

顯示座標軸

立體測量(13)

O

H

A

B

A

B

H

A

B

O

O_1

O_2

O_3

H

O

A

B

A

B

α = 4.084070449666731 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.5009831567151235 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
O = (7.154111734448928, 1.6580039299342952)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-1 * sin(α), cos(α) * cos(β))
Z_{unit}: O + (0, sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
L = 8 (slider from 1 to 15, step 1)
a = Vector(O - L * v, O + L * v)
z = Vector(O, O + L * u)
A_1: O + L * u
B_1: O + L * v
Z: O + L * w
c = false
d = false
n = 0 (slider from 0 to 9, step 1)
h = 6.53 (slider from 0 to 8, step 0.01)
P_O = (7.17, 1.51)
e: x = x(P_O)
P_H = Point(e)
B_2: P_O + (4, 0.08)
C: P_O + (-4, 0.8)
f = Line(P_O, B_2)
g = Line(C, P_O)
P_A = Point(f)
P_B = Point(g)
i = Segment(P_A, P_O)
j = Segment(P_O, P_H)
k = Segment(P_O, P_B)
l = Segment(P_B, P_A)
m = Segment(P_A, P_H)
p = Segment(P_H, P_B)
多邊形1, p_a, p_h, p_o = Polygon(P_H, P_O, P_A)
多邊形2, p_b, p_1, p_2 = Polygon(P_H, P_O, P_B)
多邊形3, p_3, p_4, p_5 = Polygon(P_A, P_O, P_B)
q = Circle(P_O, 0.4)
A_2 = Intersect(q, j)
D = Intersect(q, i)
E = Intersect(q, k)
P_1: A_2 + D - P_O
r = Segment(P_1, A_2)
s = Segment(P_1, D)
P_2: A_2 + E - P_O
t = Segment(A_2, P_O)
a_1 = Segment(A_2, P_2)
b_1 = Segment(E, P_2)
P_3: D + E - P_O
c_1 = Segment(E, P_3)
d_1 = Segment(D, P_3)
γ = 0 rad (slider from 0 to 1.3788101090755203, step 1.7453292519943296E-4)
O_1 = (7.592008525254518, 5.329138669290764)
T_1: O_1 - (3, 0)
T_2: O_1 + (0, 3)
e_1 = Segment(T_2, O_1)
f_1 = Segment(T_1, O_1)
g_1 = Segment(T_1, T_2)
h_2: y = y(O_1)
d_2: y = y(O_1)
O_2 = Point(d_2)
U_2: O_2 + (0, 3)
U_1: O_2 + (3 * sqrt(3) * cos(γ), -sin(γ))
h_1 = Segment(U_2, O_2)
i_1 = Segment(O_2, U_1)
j_1 = Segment(U_1, U_2)
多邊形4, t_2, t_1, t_3 = Polygon(O_1, T_1, T_2)
多邊形5, u_1, u_2, u_3 = Polygon(O_2, U_2, U_1)
c_2: x = x(O_1)
O_3 = Point(c_2)
V_1: O_3 - (3, 0)
V_2: O_3 + (sin(γ), -3 * sqrt(3) * cos(γ))
k_1 = Segment(V_1, O_3)
l_1 = Segment(O_3, V_2)
m_1 = Segment(V_2, V_1)
多邊形6, v_2, v_1, v_3 = Polygon(V_1, O_3, V_2)
H: O + h * w
A = Point(z)
B = Point(a)
n_1 = Segment(H, B)
q_1 = Segment(B, A)
r_1 = Segment(A, H)
s_1 = Segment(H, O)
a_2 = Segment(O, A)
b_2 = Segment(O, B)
e_2 = Circle(O, 0.4)
J_1 = Intersect(e_2, s_1)
G = Intersect(e_2, a_2)
I = Intersect(e_2, b_2)
F_a: J_1 + G - O
F_b: J_1 + I - O
F_c: G + I - O
f_2 = Segment(F_a, G)
g_2 = Segment(F_a, J_1)
i_2 = Segment(F_b, J_1)
j_2 = Segment(F_b, I)
s_a = Segment(F_c, G)
s_b = Segment(F_c, I)
x_1 = 8 (slider from -10 to 10, step 0.5)
y_1 = 0 (slider from -10 to 10, step 0.5)
x_2 = 0 (slider from -10 to 10, step 0.5)
y_2 = 6 (slider from -10 to 10, step 0.5)
E_a: O + x_1 * u + y_1 * v
E_b: O + x_2 * u + y_2 * v
k_2 = Segment(H, E_b)
l_2 = Segment(H, E_a)
m_2 = Segment(E_a, E_b)
n_2 = Segment(E_b, O)
q_2 = Segment(O, E_a)
b = Vector(O, O + L * w)
多邊形7, r_2, s_2, a_3, b_3 = Polygon(Corner[1], Corner[2], Corner[3], Corner[4])
J = Intersect(e_2, n_2)
K = Intersect(e_2, q_2)
J_2: J + J_1 - O
J_3: K + J_1 - O
c_3 = Segment(J_3, J_1)
d_3 = Segment(J_1, J_2)
e_3 = Segment(J_2, J)
f_3 = Segment(K, J_3)