Opened 6 years ago
Last modified 5 months ago
#18197 new enhancement
Add CGAL package
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-wishlist |
Component: | packages: optional | Keywords: | cgal, polyhedra, geometry |
Cc: | vdelecroix, gh-DRKWang | Merged in: | |
Authors: | Matthias Koeppe | Reviewers: | |
Report Upstream: | N/A | Work issues: | |
Branch: | u/mkoeppe/add_cgal_package (Commits, GitHub, GitLab) | Commit: | 30bfc2e3a2daa21ba282ed13bae17c2a58dd56ea |
Dependencies: | Stopgaps: |
Description (last modified by )
This ticket adds a preliminary Sage package for CGAL, the Computational Geometry Algorithms Library. http://www.cgal.org/index.html
It is a huge package. My main interest, right now, comes from a need for fast data structures for polyhedral complexes in low dimension / piecewise linear functions in several variables.
Installation goes through; I have not tested anything.
Upstream archive: https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9/CGAL-4.9.zip
. . . . . .
Some history:
In 2009, there was intermittent interest in making such a Sage package. https://groups.google.com/forum/#!topic/sage-devel/35g7UicEKvo One of the concerns at the time apparently was CGAL's licensing. However, CGAL has changed its licensing terms since then; it now appears to be released under some combination of GPL and LGPL, version 3 or later. http://www.cgal.org/license.html
There also was some interest in this topic in 2013: http://www.cgal.org/gsoc/2013.html I do not know if there were any outcomes.
. . . . . . . . .
Some random CGAL resources:
- http://acg.cs.tau.ac.il/people/mhemmer/publications/Michael_Hemmer_PhD.pdf
- https://www.inf.ethz.ch/personal/hoffmann/pub/hkn-tcgllc-16.pdf
- http://doc.cgal.org/latest/Number_types/index.html#Chapter_Number_Types
- http://doc.cgal.org/latest/Algebraic_foundations/classRealEmbeddableTraits.html#accb6b922ae1f36fa684f552dcd668271
- http://doc.cgal.org/latest/Manual/packages.html#PkgKernel23Summary
- https://github.com/CGAL/cgal-swig-bindings/wiki
- http://link.springer.com/chapter/10.1007%2F978-3-7091-6444-0_3
- http://stackoverflow.com/questions/35710426/cgal-bindings-compilation
Change History (12)
comment:1 Changed 4 years ago by
- Branch set to u/mkoeppe/add_cgal_package
comment:2 Changed 4 years ago by
- Cc vdelecroix added
- Commit set to 30bfc2e3a2daa21ba282ed13bae17c2a58dd56ea
- Component changed from packages: experimental to packages: optional
- Description modified (diff)
- Milestone changed from sage-wishlist to sage-7.6
comment:3 Changed 4 years ago by
Nice! Testing right now.
comment:4 Changed 4 years ago by
There are also various boost libraries needed...
(EDIT: for which we have a package)
comment:5 Changed 4 years ago by
The Sage cmake
package is installed. Why don't we use the system one if it is there (as we do for gcc)?
comment:6 Changed 4 years ago by
comment:7 Changed 4 years ago by
At least I am able to compile simple CGAL projects within Sage. However, having some cython code using CGAL looks less trivial.
comment:8 Changed 4 years ago by
There's https://pypi.python.org/pypi/cgal-bindings/0.0.7 (haven't tested)
comment:9 Changed 4 years ago by
- Description modified (diff)
comment:10 Changed 4 years ago by
4.10 is now available
https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.10/CGAL-4.10.zip
comment:11 Changed 13 months ago by
- Milestone changed from sage-7.6 to sage-wishlist
comment:12 Changed 5 months ago by
- Cc gh-DRKWang added
New commits:
Add spkg for CGAL 4.9