東京理科大學理組平成22年
Author: 藍邦偉  老師

x

y

z

A(2,1,2)

B(-1,-2,-3)

B'

P

Q

z=2

z=1

z=-1

z=-2

z=-3

xy平面

P點的x座標

P點的y座標

東京理科大學理組平成22年

α = 1.2217304763960306 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 4.625122517784973 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
L = 5 (slider from 1 to 10, step 1)
O = (85.14043429621319, 10.12551603343398)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-sin(α), cos(α) * cos(β))
Z_{unit}: O + (0.0, -sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
a = Vector(O - L * u, O + L * u)
b = Vector(O - L * v, O + L * v)
c = Vector(O - L * w, O + L * w)
多邊形1, d, e, f, g = Polygon(O + L * u + L * v, O + L * u - L * v, O - L * u - L * v, O - L * u + L * v)
X_{x}: O + L * u
Y_{y}: O + L * v
Z_{z}: O + L * w
K_1: O + L * u + L * v + w
K_2: O - L * u + L * v + w
K_3: O - L * u - L * v + w
K_4: O + L * u - L * v + w
多邊形2, k_1, k_2, k_3, k_4 = Polygon(K_1, K_2, K_3, K_4)
K_5: O + L * u + L * v + 2.0 * w
K_6: O - L * u + L * v + 2.0 * w
K_7: O - L * u - L * v + 2.0 * w
K_8: O + L * u - L * v + 2.0 * w
多邊形3, k_5, k_6, k_7, k_8 = Polygon(K_5, K_6, K_7, K_8)
H_1: O + L * u + L * v - w
H_2: O - L * u + L * v - w
H_3: O - L * u - L * v - w
H_4: O + L * u - L * v - w
多邊形4, h_1, h_2, h_3, h_4 = Polygon(H_1, H_2, H_3, H_4)
H_5: O + L * u + L * v - 2.0 * w
H_6: O - L * u + L * v - 2.0 * w
H_7: O - L * u - L * v - 2.0 * w
H_8: O + L * u - L * v - 2.0 * w
多邊形5, h_5, h_6, h_7, h_8 = Polygon(H_5, H_6, H_7, H_8)
P_a: O + 2.0 * u + v + 2.0 * w
P_b: O - u - 2.0 * v - 3.0 * w
W_1: O + L * u + L * v - 3.0 * w
W_2: O - L * u + L * v - 3.0 * w
W_3: O - L * u - L * v - 3.0 * w
W_4: O + L * u - L * v - 3.0 * w
多邊形6, w_1, w_2, w_3, w_4 = Polygon(W_1, W_2, W_3, W_4)
P_c: O - u - 2.0 * v - w
h = Segment(P_a, P_c)
i = Segment(P_c, P_b)
j = 1 (slider from -5 to 5, step 0.1)
k = 0 (slider from -5 to 5, step 0.1)
P_d: O + j * u + k * v + w
P_e: O + j * u + k * v - w
l = Segment(P_d, P_e)
m = Segment(P_e, P_b)
n_1 = Segment(P_a, P_d)
o = true
p = true
q = true
r = true
s = true
t = true
n = 0 (slider from 0 to 4, step 1)