MyNixOS website logo
Description

'CGAL' Version 4 C++ Header Files.

'CGAL' is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry. Since its version 4, 'CGAL' can be used as standalone header-only library and is available under a double GPL-3|LGPL license. <https://www.cgal.org/>.

GitLab CI BuildStatus

cgal4h

This package provides an R interface to the header-only C++ CGAL version 4 library

This package is using the latest release of the version 4 of CGAL.

Install

Install the development version with the remotes R package

remotes::install_gitlab("dickoa/cgal4h")

Using cgal4h

In order to use cgal4h in your own R package, you need to add it to the LinkingTo field in the DESCRIPTION field of R package. You also need to have the following C++ compiler flag.

-DCGAL_HEADER_ONLY=1

If you are using Rcpp don't forget to add a dependency to cgal4h to your cpp files before a call to #include <Rcpp.h>

// [[Rcpp::depends(cgal4h)]]

#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_circles
  • CGAL/Algebraic_kernel_for_spheres
  • Polygon_mesh_processing/internal
  • CGAL/Shape_detection/

License

This package is provided under the GPL-3.

The CGAL library uses the dual license GPL-3. | LGPL-3. More information can be found at https://www.cgal.org/license.html.

Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows