立體測量(1)  台北101大樓
Author: 藍邦偉 老師
Date: 11 12 月 2012

x

y

z

單位向量

座標軸

b = 1.6 (slider from 1 to 5, step 0.1)
r = 0.85 (slider from 0.1 to 2, step 0.05)
O = (6.930521318990407, 4.750629362123411)
β = 1.3788101090755203 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
α = 3.4557519189487724 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
Y_{unit}: O + (-1 * sin(α), cos(α) * cos(β))
v = Vector(O, Y_{unit})
a = 3.7 (slider from 1 to 5, step 0.1)
X_{unit}: O + (cos(α), sin(α) * cos(β))
u = Vector(O, X_{unit})
Z_{unit}: O + (0, sin(β))
w = Vector(O, Z_{unit})
L = 6 (slider from 1 to 10, step 1)
a_1 = Vector(O - L * v, O + L * v)
b_1 = 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
P_a: O + 5 * r * w
P_b: O + a * r * u
e = Segment(P_a, P_b)
P_c: O + 2 * b * r * sqrt(3) * v
f = Segment(P_a, P_c)
g = Segment(P_b, P_c)
多邊形1 = Poly_B31(P_a, P_c, O)
多邊形2 = Poly_C3(P_a, O, P_b)

Tool: Poly_B3
Input: A, B, C
Output: poly1'

α = Angle(C, B, A)
d: sqrt(sgn(sin(α)))
A' = Dilate(A, d, A)
B' = Dilate(B, d, A)
C' = Dilate(C, d, A)
poly1', c', a', b' = Polygon(A', B', C')

Tool: Poly_B3 (command Poly_B31)
Input: A, B, C
Output: poly1'

α = Angle(C, B, A)
d: sqrt(sgn(sin(α)))
A' = Dilate(A, d, A)
B' = Dilate(B, d, A)
C' = Dilate(C, d, A)
poly1', c', a', b' = Polygon(A', B', C')

Tool: Poly_C3
Input: A, B, C
Output: poly1

poly1 = Poly_B3(A, B, C)