ρ = 1.2 (slider from 0.1 to 7, step 0.1)
A = (1.2, -2.56)
B = (6.5, -2.74)
C = (4.24, 2.34)
f = Segment(B, C)
D = Point(f)
g = Segment(A, B)
h = Segment(A, C)
O = (8.94, -0.22)
k = Circle(O, ρ)

Tool: Polrovina
Zvoľte 3 body
Input: A, B, C
Output: d

u = Vector(A, B)
a(x, y) = (y(u) * (x - x(A))) - (x(u) * (y - y(A))) ≥ 0
c(x, y) = (y(u) * (x - x(A))) - (x(u) * (y - y(A))) ≤ 0
b: a(C)
d = If(b, a, c)