https://github.com/stla/rcgal
An incomplete R wrapper of the CGAL library
https://github.com/stla/rcgal
cgal computational-geometry r rcpp
Last synced: 9 months ago
JSON representation
An incomplete R wrapper of the CGAL library
- Host: GitHub
- URL: https://github.com/stla/rcgal
- Owner: stla
- License: gpl-3.0
- Created: 2021-12-31T16:57:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T02:42:04.000Z (over 3 years ago)
- Last Synced: 2025-03-28T03:24:36.634Z (10 months ago)
- Topics: cgal, computational-geometry, r, rcpp
- Language: R
- Homepage:
- Size: 19.6 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RCGAL
[](https://github.com/stla/RCGAL/actions)
Wrapping the C++ library **CGAL** in R. Convex hull, Delaunay tessellation, surface reconstruction.
**This package is abandoned!**
See [MeshesOperations](https://github.com/stla/MeshesOperations) and
[SurfaceReconstruction](https://github.com/stla/SurfaceReconstruction).
## Some examples of Poisson reconstruction
*Toroidal helix:*

*Spider cage:*

*Solid Möbius strip:*

*Hopf torus:*

The Hopf torus is not very smooth. We can make it a bit smoother by reducing
the `spacing` parameter of the `PoissonReconstruction` function:

Here is a series of three images which show the effect of this `spacing`
parameter (0.05, 0.02, 0.005):

*Dupin cyclide:*

*Clifford torus:*

*Orthocircle:*

*ICN5D's eight-like surface:*

*Stanford bunny:*

*Stanford dragon:*

## Advanced front surface reconstruction
*Stanford bunny:*

*Stanford dragon:*

*Dummy head:*

*Skull:*

## Elevated Delaunay triangulation
*Bivariate Gaussian density:*

*Volcano:*

## Constrained Delaunay triangulation
*Face:*

## Convex hull
*Leonardo da Vinci's 72-sided sphere:*

## Boolean operations on meshes
#### Intersection

#### Difference

#### Union


## License
This package is provided under the GPL-3 license. If you wish to use CGAL for
commercial purposes, you must obtain a license from the
[GeometryFactory](https://geometryfactory.com).
## Blog post
I wrote a [blog post](https://laustep.github.io/stlahblog/posts/SurfaceReconstruction.html) devoted to **RCGAL**.