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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Fwd: interfacing CGAL with python
  • Date: Thu, 16 Jul 2015 17:21:02 +0200
  • Organization: GeometryFactory

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








Archive powered by MHonArc 2.6.18.

Top of Page