.Net(或 C#)的 CGAL
我不确定 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
CGAL 似乎没有 .Net 版本。
Looks like there is no .Net version for CGAL.
C# 包装器存在开放的可能性……尽管 CGAL 的 SWIG 项目目前不包括 C#,但已提出请求。
https://github.com/cgal/cgal-swig-bindings/issues/ 3
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
有一个 C# 包装器用于 CGAL 的有限部分:
https://github.com/martindevans/CGAL_StraightSkeleton_Wrapper
There is a C# wrapper for a limited portion of CGAL:
https://github.com/martindevans/CGAL_StraightSkeleton_Wrapper
它是一个 C++ 库。也许可以通过 .NET 本机代码互操作机制来使用它?
It is a C++ library. Maybe it could be used through the .NET native code interop mechanisms?
理论上您可以尝试做的一件事是将 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.
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.