Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triangulate can fail if the input polygon has a large number of co-linear vertices #57

Open
cwgable opened this issue Apr 14, 2017 · 0 comments
Labels

Comments

@cwgable
Copy link
Collaborator

cwgable commented Apr 14, 2017

A know bug exists in the case where your polygon points have a large number of co-linear vertices. It also matters where in the sequence of points the co-linear point are. Not an issue usually when you create a polygon from scratch. It can show up when you are transmitted a polygon with hundreds of point perhaps from some other application.

C Gable spent time trying to find a fix and was unsuccessful (gave up).

Some examples of this bug can be found here:
/scratch/nts/gable/grid_gen/discrete_fractures/remesh_coarsen/debug
-rwxr-x--x 1 gable sft 1086 Mar 3 2015 run_test.scr
-rw-r--r-- 1 gable sft 276 Mar 3 2015 connect.lgi
-rw-r--r-- 1 gable sft 3164 Feb 25 2015 lagrit_part_1_149.lgi
-rw-r--r-- 1 gable sft 3182 Mar 6 2015 lagrit_part_1_149_modify.lgi
-rw-r----- 1 gable sft 7085 Feb 26 2015 make_points.lgi
-rw-r----- 1 gable sft 506 Feb 26 2015 test.lgi

@cwgable cwgable added the bug label Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant