i have a pure curiousity about “circle fit” component.

i wonder how the component make circle from many points.

at first, i thought average point would be the centroid, but i found it can`t be the real centroid. Because, in many general cases, density of point cloud is not homogeneous, so the gotten centroid would be weighted towards high-density area.

so i now i expect that the “circle fit” is an mean of "3 point circle"s, and the 3 point is combinations(nC3) of points. hmm… is it right?

thanks for read, have a nice weekend!