Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Fwd: interfacing CGAL with python

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Fwd: interfacing CGAL with python


Chronological Thread 
  • From: Guillaume Gay <>
  • To:
  • Subject: Re: [cgal-discuss] Fwd: interfacing CGAL with python
  • Date: Thu, 16 Jul 2015 17:24:15 +0200

Hi Sebastien,

Thanks for the answer,

I'll look into the SWIG bindings (though I'm not fond of it...)

Guillaume

Le 16/07/2015 17:21, Sebastien Loriot (GeometryFactory) a écrit :
On 07/16/2015 12:22 PM, Guillaume Gay wrote:
Hi all,

I want to wrap LinearCellComplex derived objects in python, with
attributes being accessible as numpy arrays from an interactive python
session.

I started using Boost.Python to do so, but hit a low point in tools and
documentation when getting to numpy integration (two projects:
Boost.Numpy and numpy-boost can be found on github, but they aren't much
documented, and seem cumbersome).

Cython can now wrap C++ code, and looks like the prefered way to act now
(SWIG in my experience is not great).

I saw that a GSOC 2013 dealt with interfacing CGAL and Sage, and was
arguing for Cython use. Has this
project been productive?


It was only a subject proposal, no student did pick it up.
Nothing has been done in that direction AFAIK.

Can anyone on this list elaborate on that?

While the class Linear_cell_complex hasn't been wrapped,
you might be interested by this project:

https://github.com/CGAL/cgal-swig-bindings

Sebastien

Thanks a lot,

Best,

Guillaume







--

--
Guillaume Gay, PhD

http://damcb.com

43 rue Horace Bertin
13005 Marseille

+33 953 55 98 89
+33 651 95 94 00

n°SIRET 751 175 233 00020




Archive powered by MHonArc 2.6.18.

Top of Page