Tetrahedron radius ratio: tweak guess

Jiggle the vertex guesses. Put the circumscribed sphere guess on-shell.
This commit is contained in:
Aaron Fenyes 2024-07-17 19:01:34 -07:00
parent a02b76544a
commit 96ffc59642

View File

@ -62,13 +62,13 @@ guess = hcat(
1 1 -1 -1 0 0
1 -1 1 -1 0 0
1 -1 -1 1 0 0
0 0 0 0 -1.5 -3
1 1 1 1 -0.5 -1
0 0 0 0 -1.5 -0.5
1 1 1 1 -0.5 -1.5
] + 0.2*Engine.rand_on_shell(fill(BigFloat(-1), 6)),
Engine.point([-1, -1, -1]),
Engine.point([-1, 1, 1]),
Engine.point([ 1, -1, 1]),
Engine.point([ 1, 1, -1]),
Engine.point([-1, -1, -1] + 0.3*randn(3)),
Engine.point([-1, 1, 1] + 0.3*randn(3)),
Engine.point([ 1, -1, 1] + 0.3*randn(3)),
Engine.point([ 1, 1, -1] + 0.3*randn(3)),
BigFloat[0, 0, 0, 0, 1]
)
frozen = vcat(