本文介绍了什么是一个好的图书馆在一个垃圾收集的语言来做计算几何(如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.还有制作Python绑定CGAL一个项目,但它是非常不完整的。

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)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 23:35