Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL in C#

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL in C#


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL in C#
  • Date: Thu, 10 Nov 2011 11:12:25 +0100

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? :(
Basic parts should work out-of-the-box thanks to SWIG.
Parts that need specific code (such as input/output iterators) will not.
To write those specific parts, one need to know how the target language
works, so people that know well the target language might write this
small piece of code and activate those features.


I will make an announcement here when the code will be available,
so stay tune.


Sebastien.


Regards,
F.





Archive powered by MHonArc 2.6.16.

Top of Page