什么是用垃圾收集语言进行计算几何(如 CGAL)的好库?

发布于 2024-08-06 04:06:04 字数 225 浏览 7 评论 0原文

我需要一个库来处理项目中的计算几何,尤其是布尔运算,但几乎每个功能都很有用。我能找到的最好的库是 CGAL,但这是我在没有它的情况下会犹豫是否制作的项目垃圾收集。

您可以推荐哪些语言/库对?到目前为止,我最好的选择是将 CGAL 导入到 D 中。还有一个为 CGAL 进行 Python 绑定的项目,但它非常不完整。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

我不咬妳我踢妳 2024-08-13 04:06:04

我仍然建议继续使用 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).

可遇━不可求 2024-08-13 04:06:04

也许你可以看看Shapely for python

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

对于 Java,我会使用 JTS

对于 .NET,我会使用 SharpMap 或 .NETTopologySuite

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

单调的奢华 2024-08-13 04:06:04

CGAL-bindings 项目使用 SWIG 提供 CGAL 的绑定。到目前为止,目标语言是 Java 和 Python。 CGAL-bindings 项目是开源的,由两家法国公司支持/创立。

The CGAL-bindings project provides bindings for CGAL using SWIG. The targeted languages, so far, are Java and Python. The CGAL-bindings project is open source, and supported/founded by two french companies.

装纯掩盖桑 2024-08-13 04:06:04

JTS 还可通过 IKVM 在 .NET 中使用。

JTS is also available in .NET via IKVM.

半世晨晓 2024-08-13 04:06:04

我刚刚发现了这个,即使它看起来是一个年轻的项目,它似乎也很有前途: https ://pyrr.readthedocs.org/en/latest/index.html#

Pyrr 是一个 Python 数学库。

它是基于 numpy 的!

I've just found this and it seems very promising even if it seems a young project: https://pyrr.readthedocs.org/en/latest/index.html#

Pyrr is a Python mathematical library.

and it is based on numpy!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文