三角測量 (22)
Author: 藍邦偉  老師

三角測量 (22)

n = 2 (slider from 0 to 2, step 1)
C = (8.222471378587391, -0.7977665721076925)
θ = 1.3089969389957472 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
u = Vector((x(Corner[1.0]) + 1.0, y(C)), (x(Corner[2.0]) - 1.0, y(C)))
v = Vector((x(C), y(Corner[1.0]) + 1.0), (x(C), y(Corner[3.0]) - 1.0))
L: y - y(C) = tan(θ) * (x - x(C))
φ = 2.0943951023931953 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
L_2: y - y(C) = tan(φ) * (x - x(C))
α = 0.2617993877991494 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 5.759586531581287 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
P: C + (16.0 * cos(φ), 16.0 * sin(φ))
t = 0.23 (slider from 0 to 1, step 0.01)
A: C + t * Vector[C, P]
A_1: A + (2.0, 0.0)
A_3: A - (2.0, 0.0)
A_2: A + (0.0, 2.0)
A_4: A - (0.0, 2.0)
a = Segment(A_3, A_1)
b = Segment(A_2, A_4)
L_3: y - y(A) = tan(α) * (x - x(A))
L_4: y - y(A) = tan(β) * (x - x(A))
B_1 = Intersect(L, L_3)
D_1 = Intersect(L_4, L)
B = Point(L)
D = Point(L)
c = Segment(A, B)
d = Segment(A, D)