Question

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.

Was it helpful?

Solution

Looks like there is no .Net version for CGAL.

OTHER TIPS

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!

(This is really a non-answer, but adding it just to be thorough and potentially draw attention to the open possibility of a SWIG wrapper...)

There is a SWIG wrapper project for CGAL, but it does NOT include C# at the moment. However this 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.

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

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top