補角關係
Author: 藍邦偉  老師

(1,0)

x

y

P(x,y)

180°-θ

補角關係

Q(cosθ,sinθ)

P(cos(180°-θ),sin(180°-θ))

Q(-x,y)

θ

θ

sin(180°-θ)=sinθ

cos(180°-θ)=-cosθ

O = (0, 0)
u = Vector((x(Corner[1.0]), y(O)), (x(Corner[3.0]), y(O)))
v = Vector((x(O), y(Corner[1.0])), (x(O), y(Corner[3.0])))
c = Circle(O, 3.0)
A = (3, 0)
θ = 2.6878070480712672 rad (slider from 1.5707963267948966 to 3.141592653589793, step 0.017453292519943295)
P = Rotate(A, θ, O)
a = Segment(O, P)
A_1: 0.6 * O + 0.4 * A
B_1: 0.6 * O + 0.4 * P
d = CircleArc(O, A_1, B_1)
Q: (-(3.0) * cos(θ), 3.0 * sin(θ))
e = Segment(O, Q)
A_2: 0.2 * A + 0.8 * O
B_2: 0.2 * Q + 0.8 * O
g = CircleArc(O, A_2, B_2)
A_3: 0.2 * P + 0.8 * O
B = (-3, 0)
B_3: 0.2 * B + 0.8 * O
f = CircleArc(O, A_3, B_3)
P_1: (x(P), 0.0)
Q_1: (x(Q), 0.0)
b = Segment(P, P_1)
h = Segment(Q, Q_1)
i = Segment(O, P_1)
j = Segment(O, Q_1)