A = (2.66, 4.1)
B = (5.38, 3.24)
c = CercleDia(A, B)
a = Segment(A, B)
C_1 = Midpoint(a)
b = OrthogonalLine(C_1, a)
C = Point(b)
d = Circle(C_1, C)
D = Intersect(d, b, 2)
poly1, a_1, d_1, b_1, c_1 = Polygon(A, D, B, C)

Tool: Cercle (diamètre) (command CercleDia)
Deux points
Input: A, B
Output: c

C = Midpoint(A, B)
c = Circle(C, A)