在垃圾收集语言中进行计算几何(如 CGAL)的好库是什么? [英] What's a good library to do computational geometry (like CGAL) in a garbage-collected language?
问题描述
我需要一个库来处理项目中的计算几何,尤其是布尔运算,但几乎每个功能都很有用.我能找到的最好的图书馆是 CGAL,但如果没有这种项目,我会犹豫不决垃圾收集.
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.
您可以推荐哪些语言/库对?到目前为止,我最好的选择是将 CGAL 导入 D.还有一个为 CGAL 制作 Python 绑定的项目,但它非常不完整.
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.
推荐答案
我仍然建议继续使用 Python 和现有的 Python 绑定.当您发现它不完整时,您还会发现它很容易扩展 - Python 的 C API 的设计使得与外部库的集成相当容易(对于有经验的 C 程序员).
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).
这篇关于在垃圾收集语言中进行计算几何(如 CGAL)的好库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!