jhasse / poly2tri

2D constrained Delaunay triangulation library
BSD 3-Clause "New" or "Revised" License
429 stars 89 forks source link

Improvement to the testbed application #23

Closed pierre-dejoue closed 3 years ago

pierre-dejoue commented 3 years ago

Fix some warnings, and improve the test data file format to add new optional sections for holes and Steiner points.

See dude.dat and steiner.dat for examples of the new sections.

Previously the holes in the dude.dat example were hardcoded in the application itself! (So, fix that.)

pierre-dejoue commented 3 years ago

Regarding the changes float->double of some of the functions: this is to account for compilation warnings, on my platform at least (I build with MSVC).

New iteration pushed taking into account your comments. Thanks for the review!

jhasse commented 3 years ago

Thank you for the PR :)