Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] CGAL in C#
- Date: Thu, 10 Nov 2011 11:12:10 +0100 (CET)
On Thu, 10 Nov 2011, Francois Berenger wrote:
On 11/10/2011 04:30 PM, Sebastien Loriot (GeometryFactory) wrote:
saher murad wrote:
Hi,
Please could you let me know that how I can use CGAL in my C# project.
Thank you.
You can use classical technique for calling C++ from C# (ask your
favorite search engine, a lot of tutorial are available) or you can
write a small wrapper class to expose CGAL's methods you are interested
in and use SWIG to create C# bindings. The latter method is the one we
chose for the upcoming cgal-bindings for Java and Python (a first
version should be publicly available hopefully before the end of the
year).
No plans for OCaml? :(
I don't know SWIG well, but from what I understand of it, it seems like once you can generate bindings for one language, you can generate them for all of them (including ocaml) without additional effort.
That seems to be the whole point of using a framework like SWIG instead of doing direct bindings manually for one language.
--
Marc Glisse
- [cgal-discuss] CGAL in C#, saher murad, 11/03/2011
- Re: [cgal-discuss] CGAL in C#, Joe Zhou, 11/03/2011
- Re: [cgal-discuss] CGAL in C#, Sebastien Loriot (GeometryFactory), 11/10/2011
- Re: [cgal-discuss] CGAL in C#, Francois Berenger, 11/10/2011
- Re: [cgal-discuss] CGAL in C#, Marc Glisse, 11/10/2011
- Re: [cgal-discuss] CGAL in C#, Sebastien Loriot (GeometryFactory), 11/10/2011
- Re: Re: [cgal-discuss] CGAL in C#, Laurent Rineau (GeometryFactory), 11/10/2011
- Re: [cgal-discuss] CGAL in C#, Francois Berenger, 11/10/2011
Archive powered by MHonArc 2.6.16.