Spline - Circular arc - Endpoints not straight

Hi all together,

Currently i´ve a problem with splines and circular arcs
The Circular arc is calculated with three points (two are intersecting the circle, one is the control point for calculation)

My problem seems to be that the tangent of the endpoints is effected by the other points.
To visualize the problem, i´ve created a circle out of four independent curves, all same size and grid aligned (x4000, y4000)

I´ve already tried setting the
bStationaryEndpoints = true - Leads in display issues in the end and doesn´t help.
Setting SplinePoints.Linear, same issue (Does the same like bStationaryEndpoints)

Anybody can help me out here, i´ve right now no clue what i´ve to do to get it:
a proper circle if i connect for splines (without using closed loop or connecting them, they should look proper without that at all)
In general they should look good alone too.

Thank you very much!

Cheers,
Maik

Hi all,

Anybody have an idea what i could implement/change to resolve this?
Do i need to calculate the tangents on my own?

Thanks and best regards,

Maik

For everybody who wants to know, i was able to fix the issue by calculating an additional point that is “leaving” the search in half angle.

So if you would calculate the circle just calculate one point in beginning and end more, grab the directions between the beginning three and end three and you can calculate the “center” direction. With that i´ve applied a new point in proper distance and my circle was i wanted to have it first.

THX still for everybody who read that and was taking time to think about a solution.

All best,
Maik