views:

534

answers:

3

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.

+3  A: 

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).

Martin v. Löwis
Yep, and look into one of the C++ bindings generators (which binds C++ code to python), such as SIP.
Lee B
+1  A: 

Perhaps you can look at Shapely for python

http://pypi.python.org/pypi/Shapely/

For Java I would use JTS

For .NET I would use SharpMap or .NETTopologySuite

TheSteve0
A: 

JTS is also available in .NET via IKVM.

Sebastian Good