aewallin / openvoronoi

2D voronoi diagram for point and line-segment sites using incremental topology-oriented algorithm. C++ with python bindings. Licensed under LGPL2.1.
http://www.anderswallin.net/cam/
GNU Lesser General Public License v2.1
198 stars 68 forks source link

Please throw exception instead of dying #28

Open dmitryplatonov opened 9 years ago

dmitryplatonov commented 9 years ago

It's very inconvenient when algorithm kilsl program instead of reporting failure.

aewallin commented 9 years ago

yes, this is a good idea. would you suggest using Boost Exception? did you encounter a failed assert() or an uncontrolled crash?