B
B
Burk75892020-09-11 13:56:23
C++ / C#
Burk7589, 2020-09-11 13:56:23

Restoring a circle from an array of points of its part?

Suggest an algorithm for restoring a circle from an array of points on its part. To determine the center of this circle and the radius.
5f5b576a90bd3348624859.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
ComodoHacker, 2020-09-11
@ComodoHacker

Take three points, preferably away from each other. They form two chords. Draw perpendicular bisectors to these chords. Their intersection is the center.
If you have a spread, then repeat with multiple sets of points.

A
artem_mahno, 2020-09-11
@artem_mahno

Looks like a linear regression problem
https://numerics.mathdotnet.com/Regression.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question