Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good library to do computational geometry (like CGAL) in a garbage-collected language?

I need a library to handle computational geometry in a project, especially boolean operations, but just about every feature is useful. The best library I can find for this is CGAL, but this is the sort of project I would hesitate to make without garbage collection.

What language/library pairs can you recommend? So far my best bet is importing CGAL into D. There is also a project for making Python bindings for CGAL, but it's very incomplete.

like image 906
Squash Monster Avatar asked Oct 04 '09 19:10

Squash Monster


1 Answers

I would still recommend to proceed with Python and the existing Python binding. When you find it's incomplete, you'll also find that it is fairly easy to extend - Python's C API is designed so that integrating with external libraries is fairly easy (for experienced C programmers).

like image 195
Martin v. Löwis Avatar answered Oct 02 '22 18:10

Martin v. Löwis