CGAL Python Bindings


WARNING: This project is no longer maintained. Please try CGAL-bindings that provides similar functionalities.

The goal of the CGAL-Python project is to provide Python bindings for the CGAL library. CGAL is the Computational Geometry Algorithms Library, a C++ library of generic, efficient and robust geometric algorithms.

CGAL-Python is implemented using Boost.Python which allows to mimic a large part of the original C++ interface of CGAL. Since CGAL is heavily based on the generic programming paradigm (templates), some choices have been made to accomodate the Python programming model instead. Python allows much faster prototyping than C++, by simplifying the complexity of the language and removing the typical long compilation times of C++. We also hope that CGAL-Python can be used for teaching geometric algorithms, without requiring knowledge of C++ as is currently the case with CGAL.

CGAL-Python is developed at INRIA Sophia Antipolis, by Naceur Meskini. We also strongly encourage users to provide feedback and to contribute to the project.

The current (0.9 release) of CGAL-Python provides the following modules :