Skip to content

Instantly share code, notes, and snippets.

@Rogach
Created February 23, 2015 20:41
Show Gist options
  • Save Rogach/3e0f4880c3cd36c27ee5 to your computer and use it in GitHub Desktop.
Save Rogach/3e0f4880c3cd36c27ee5 to your computer and use it in GitHub Desktop.
WARNING t_filter() results in empty solution set!!
solution edge: (0.102197, -1.68708)[1](t=1.03479) - (0.0976054, -1.71425)[1](t=1.06218)
solution edge: 58[1]{1} -[4]- 59[1]{0}
s1= LineSite: (0.389014, -0.692829) - (0.386091, -0.691995)(k=-1)
s2= PointSite: (0.159513, -0.653879)(k=1)
s3= LineSite: (-0.162121, -0.673332) - (0.42533, -0.6914)
Running solvers again:
The failing 6 solutions are:
(0.12838, -0.650985) t=0.031267 k3=1 e_err=0.0614641
min<t<max=0 s3.in_region=1 region-t=0.492875
t - t_min= -1.00352
t_max - t= 1.03091
edge type : 4
(0.18327, -0.659524) t=0.0244193 k3=1 e_err=2.77556e-16
min<t<max=0 s3.in_region=1 region-t=0.586672
t - t_min= -1.01037
t_max - t= 1.03776
edge type : 4
(0.18327, -0.659524) t=0.0244193 k3=1 e_err=2.77556e-16
min<t<max=0 s3.in_region=1 region-t=0.586672
t - t_min= -1.01037
t_max - t= 1.03776
edge type : 4
(0.12838, -0.650985) t=0.031267 k3=1 e_err=0.0614641
min<t<max=0 s3.in_region=1 region-t=0.492875
t - t_min= -1.00352
t_max - t= 1.03091
edge type : 4
(0.18327, -0.659524) t=0.0244193 k3=1 e_err=2.77556e-16
min<t<max=0 s3.in_region=1 region-t=0.586672
t - t_min= -1.01037
t_max - t= 1.03776
edge type : 4
(0.12838, -0.650985) t=0.031267 k3=1 e_err=0.0614641
min<t<max=0 s3.in_region=1 region-t=0.492875
t - t_min= -1.00352
t_max - t= 1.03091
edge type : 4
VertexPositioner::desperate_solution()
edge: (0.102197, -1.68708) - (0.0976054, -1.71425)
dist(): 1.03479 - 1.06218
WARNING: Returning desperate solution:
(0.102197, -1.68708) t=1.03479 k3=-1 e_err=0
s1_err= 1.11022e-15
s2_err= 0
s3_err= 0.0296471
WARNING check_dist() !
sl.t= 1.03479
d1= 1.03479
d2= 1.03479
d3= 1.00514
solution edge: 58[1]{1} -[4]- 59[1]{0}
ovd_tst: /home/platon/sync/sources/openvoronoi/src/vertex_positioner.cpp:100: ovd::solvers::Solution ovd::VertexPositioner::position(ovd::HEEdge, ovd::Site*): Assertion `check_dist(edge, sl, s3)' failed.
Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment