平面的截距式
Author: 藍邦偉  老師

x

y

z

單位向量

座標軸

a=

b=

c=

z 座標

xy平面

平面的截距式

α = 3.5779249665883754 rad (slider from 0*° to 360*°, step 0.1*°)
β = 1.2217304763960306 rad (slider from 0 to 360*°, step 0.1*°)
O = (8.540610921221932, 4.520825926101978)
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 = 5 (slider from 1 to 6, step 1)
a = Vector(O - L * v, O + L * v)
b = Vector(O - L * w, O + L * w)
z = Vector(O - L * u, O + L * u)
A_1: O + L * u
B_1: O + L * v
Z: O + L * w
c = false
d = true
Q_2: 0.2 * Corner[2] + 0.8 * Corner[1]
Q_3: (x(Q_2), y(Corner[3]))
多邊形1, e, q_2, q_3, f = Polygon(Corner[1], Q_2, Q_3, Corner[4])
g = Segment(Q_2, Q_3)
list1 = Sequence(CurveCartesian[x(O + t * u + s * v), y(O + t * u + s * v), t, -L, L], s, -L, L, 1)
list2 = Sequence(CurveCartesian[x(O + t * u + s * v), y(O + t * u + s * v), s, -L, L], t, -L, L, 1)
a1 = 2
b1 = 2
c1 = 1
IB1 = Textfield(a1)
IB2 = Textfield(b1)
IB3 = Textfield(c1)
P_1: O + a1 * u
P_2: O + b1 * v
P_3: O + c1 * w
list3 = Sequence(O + t * w, t, -L + 1, L - 1)
h = false
i = true
t = Segment(O, P_3)
a_1 = Segment(O, P_1)
b_1 = Segment(O, P_2)
poly2, p_2, p_3, p_1 = Polygon(P_3, P_1, P_2)
A = Mirror(P_2, P_3)
B = Mirror(P_1, P_3)
A' = Mirror(A, P_1)
B' = Mirror(B, P_2)
B'' = Mirror(B', P_1)
A'' = Mirror(A', P_2)
A'_1 = Mirror(A, P_2)
B'_1 = Mirror(B, P_1)
poly1, b'', a'', a'_1, b'_1 = Polygon(B'', A'', A'_1, B'_1)