I ran the algorithm in both java and cpp on the following pointset:
100000000000000
010000000000000
001000000000000
000100000000000
000010000000000
000001000000000
000000100000000
000000010000000
000000001000000
000000000100000
000000000010000
000000000001000
000000000000100
000000000000010
000000000000001
and got the following output
radius = sqrt(1/2)
center:
0.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0
but this result doesn't make any sense, and doesn't match the expected result in the java test.
Thanks
I ran the algorithm in both java and cpp on the following pointset:
100000000000000
010000000000000
001000000000000
000100000000000
000010000000000
000001000000000
000000100000000
000000010000000
000000001000000
000000000100000
000000000010000
000000000001000
000000000000100
000000000000010
000000000000001
and got the following output
radius = sqrt(1/2)
center:
0.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0
but this result doesn't make any sense, and doesn't match the expected result in the java test.
Thanks