cgalheaders
R interface to the C++ header-only CGAL library.
This package is currently shipping the latest release CGAL.
Install
Install the development version with the remotes R package
remotes::install_gitlab("dickoa/cgalh")
Using cgalh
To use cgalh in your own package, add a dependency to cgalh to your cpp files before a call to #include <Rcpp.h>
// [[Rcpp::depends(cgalh)]]
#include <Rcpp.h>
Missing headers
Because of portability issues not all headers are included in this package, the following components are currently missing:
CGAL/Algebraic_kernel_for_circlesCGAL/Algebraic_kernel_for_spheresPolygon_mesh_processing/internalCGAL/Shape_detection/
License
This package is provided under the double GPL-3 | LGPL-3 license like CGAL.
More information on the CGAL license can be found at https://www.cgal.org/license.html.