.Net(或 C#)的 CGAL

发布于 2024-08-10 03:47:20 字数 328 浏览 2 评论 0原文

我不确定 CGAL 是否有 .Net 版本?上次我检查时只有 垃圾收集语言中的一个 CGAL 等效项

如果我们有 CGAL.net,将会非常有帮助。

P/S:我知道我可以使用互操作,但是,完整的托管版本会更好。

I am not sure whether there is a .Net version of CGAL? The last time I check there is only one CGAL equivalent in garbage-collected language.

If would be tremendously helpful if we have CGAL.net.

P/S: I know I can use interop, but still, a full managed version would be better.

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

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

发布评论

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

评论(6

遇到 2024-08-17 03:47:20

CGAL 似乎没有 .Net 版本。

Looks like there is no .Net version for CGAL.

说不完的你爱 2024-08-17 03:47:20

C# 包装器存在开放的可能性……尽管 CGAL 的 SWIG 项目目前不包括 C#,但已提出请求。

https://github.com/cgal/cgal-swig-bindings/issues/ 3

是否有计划为 CGAL 启用 C# 绑定?有没有具体的
尚未启用它的原因是什么?
...

主要原因是时间和资源。 ...如果有 C# 经验的人想要提供帮助,
我们也许可以轻松做到这一点。

There is the open possibility of a C# wrapper... although the SWIG project for CGAL does NOT include C# at the moment, it has been requested.

https://github.com/cgal/cgal-swig-bindings/issues/3

Are there plans to enable C# bindings for CGAL? Are there specific
reasons for not having enabled it yet?
...

The main reason are time and resources. ... If someone experienced with C# wants to help,
we probably can do this easily.

夏尔 2024-08-17 03:47:20

有一个 C# 包装器用于 CGAL 的有限部分:
https://github.com/martindevans/CGAL_StraightSkeleton_Wrapper

CGAL_StraightSkeleton_Wrapper

AC# CGAL 包装器用于计算
形状的直骨架。这不是,也永远不会
成为 CGAL 的通用 C# 包装器!

There is a C# wrapper for a limited portion of CGAL:
https://github.com/martindevans/CGAL_StraightSkeleton_Wrapper

CGAL_StraightSkeleton_Wrapper

A C# wrapper around CGAL for calculating
straight skeletons of shapes. This is not and does not ever intend to
be a general C# wrapper around CGAL!

木有鱼丸 2024-08-17 03:47:20

它是一个 C++ 库。也许可以通过 .NET 本机代码互操作机制来使用它?

It is a C++ library. Maybe it could be used through the .NET native code interop mechanisms?

网白 2024-08-17 03:47:20

理论上您可以尝试做的一件事是将 C++ 代码编译为托管 C++。
但不确定它是否实际上容易实现。

One thing you could theoretically try to do is to compile the C++ code as managed C++.
Not sure if it is practically easily doable though.

書生途 2024-08-17 03:47:20

CGALDotNet 是 C++ 库的包装器。
它的功能有限,仅支持 Windows 64 位,但它是您目前能找到的最好的。

不过,作者在 2022 年中期停止了开发,因此它不太可能进一步发展。

CGALDotNet is a wrapper to the C++ library.
It is limited in functionality and only supports Windows 64bit, but it is the best you can find right now.

The author stopped developing it mid 2022 though, so it's unlikely that it will evolve further.

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