missing triangle

70 views
Skip to first unread message

Keith Willenson

unread,
Feb 12, 2014, 3:57:21 PM2/12/14
to poly...@googlegroups.com
When running the attached data set, I get the following error. I have a try/catch set up to translate scaled data into it's original format so I can try and figure out the error. The first and second repeat of BUG FIXME are adjusted back to their original values. The code I posted in my previous message has no effect on this problem. Can someone please help me figure this out?

[BUG:FIXME] FLIP failed due to missing triangle t [-7.561235029061684E-4,-0.4052903900617929] [-0.01347985963570376,-0.41310665747823083] [-0.013487533164822737,-0.4184741507099326] neighborAcross from p [-7.561235029061684E-4,-0.4052903900617929] = null
java.lang.RuntimeException: java.lang.Throwable: [BUG:FIXME] FLIP failed due to missing triangle t [1894827.301323,435212.936286] [1894818.7568190855,435207.687346] [1894818.751666,435204.082857] neighborAcross from p [1894827.301323,435212.936286]
at org.poly2tri.triangulation.TriangulationProcess.run(TriangulationProcess.java:255)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.Throwable: [BUG:FIXME] FLIP failed due to missing triangle t [1894827.301323,435212.936286] [1894818.7568190855,435207.687346] [1894818.751666,435204.082857] neighborAcross from p [1894827.301323,435212.936286]
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.flipEdgeEvent(DTSweep.java:1056)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.flipEdgeEvent(DTSweep.java:1143)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.flipEdgeEvent(DTSweep.java:1143)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.edgeEvent(DTSweep.java:846)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.edgeEvent(DTSweep.java:835)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.edgeEvent(DTSweep.java:371)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.sweep(DTSweep.java:118)
at org.poly2tri.triangulation.delaunay.sweep.DTSweep.triangulate(DTSweep.java:74)
at org.poly2tri.Poly2Tri.triangulate(Poly2Tri.java:103)
at org.poly2tri.triangulation.TriangulationProcess.run(TriangulationProcess.java:245)
... 1 more
Stalled5ScaledData.txt
Reply all
Reply to author
Forward
0 new messages