I would like to calculate the arc length of a circle segment, i.e. I know the start coordinates $(x/y)$ of the circle segment, the end coordinates $(x/y)$ and the x and y distances from the starting point to the center point of the circle segment.

I know that I can calculate the circumference with 2 * radius * PI. Consequently, I would have to calculate the radius and the angle of the circle segment via Pythagorean theorem and sin and cos. My question: Is there a simple formula where I just have to put in start-coordinates, end-coordinates and the circle origin point coordinates?

Thanks.

I know that I can calculate the circumference with 2 * radius * PI. Consequently, I would have to calculate the radius and the angle of the circle segment via Pythagorean theorem and sin and cos. My question: Is there a simple formula where I just have to put in start-coordinates, end-coordinates and the circle origin point coordinates?

Thanks.