I'm doing some 2d geometry and I think the moebius transformation (as documented here https://en.wikipedia.org/wiki/M%C3%B6bius_transformation) can give me the answer I'm looking for, but I'm stuck.
I start from an arc of a circle, defined by its center, its radius, and two angles (at which the arc start and stop).
- Any transformation which can give map each point of the arc to a point of the segment would be good enough (bijection seems trivial here).
- A better solution would preserve the fact that M is at the middle of AB (so M' at the middle of A'B')
- The perfect solution (but I don't know if it exists) would be that the curvilinear abscissa of M on the arc is equal the the one of M' on the segment for all M in [A, B].
The position or the orientation of the resulting segment is not important.
What would be the best way to find the a, b, c, d parameters of the moebius transformation ?



$$\begin{bmatrix} B - M & AM-AB\\ A + B - 2 M & BM + AM - 2AB \end{bmatrix}$$ This sends any three points distinct points $A,B,M$ to $0,1,1/2$, respectively. Since mobius transformations take arcs/lines to arcs/lines and your three points are on a common arc, this will take that arc to the line from 0 to 1.
I computed this in Sage - you can replicate it by using the "point_transformation_matrix" method for projective space. There is probably an easier way, as to use that method you will have to projectivize your coordinates and then dehomogenize at the end.