{"id":25060013,"url":"https://github.com/stla/rcgal","last_synced_at":"2025-04-14T14:30:28.144Z","repository":{"id":73101609,"uuid":"443390258","full_name":"stla/RCGAL","owner":"stla","description":"An incomplete R wrapper of the CGAL library","archived":false,"fork":false,"pushed_at":"2022-06-08T02:42:04.000Z","size":20551,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T03:24:36.634Z","etag":null,"topics":["cgal","computational-geometry","r","rcpp"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-31T16:57:15.000Z","updated_at":"2023-04-19T14:59:17.000Z","dependencies_parsed_at":"2023-03-02T17:45:28.809Z","dependency_job_id":null,"html_url":"https://github.com/stla/RCGAL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FRCGAL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FRCGAL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FRCGAL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FRCGAL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stla","download_url":"https://codeload.github.com/stla/RCGAL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248896956,"owners_count":21179515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cgal","computational-geometry","r","rcpp"],"created_at":"2025-02-06T15:56:24.274Z","updated_at":"2025-04-14T14:30:28.078Z","avatar_url":"https://github.com/stla.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RCGAL\r\n\r\n\u003c!-- badges: start --\u003e\r\n[![R-CMD-check](https://github.com/stla/RCGAL/workflows/R-CMD-check/badge.svg)](https://github.com/stla/RCGAL/actions)\r\n\u003c!-- badges: end --\u003e\r\n\r\nWrapping the C++ library **CGAL** in R. Convex hull, Delaunay tessellation, surface reconstruction.\r\n\r\n**This package is abandoned!** \r\nSee [MeshesOperations](https://github.com/stla/MeshesOperations) and \r\n[SurfaceReconstruction](https://github.com/stla/SurfaceReconstruction).\r\n\r\n\r\n## Some examples of Poisson reconstruction\r\n\r\n*Toroidal helix:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/ToroidalHelix.png)\r\n\r\n*Spider cage:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/SpiderCage.png)\r\n\r\n*Solid Möbius strip:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/SolidMobiusStrip.png)\r\n\r\n*Hopf torus:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/HopfTorus.png)\r\n\r\nThe Hopf torus is not very smooth. We can make it a bit smoother by reducing \r\nthe `spacing` parameter of the `PoissonReconstruction` function:\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/HopfTorusMesh_spacing02.png)\r\n\r\nHere is a series of three images which show the effect of this `spacing` \r\nparameter (0.05, 0.02, 0.005):\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/SolidMobiusStrip_spacings.png)\r\n\r\n\r\n*Dupin cyclide:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/cyclide.png)\r\n\r\n*Clifford torus:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/CliffordTorus.gif)\r\n\r\n*Orthocircle:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/Orthocircle.png)\r\n\r\n*ICN5D's eight-like surface:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/ICN5D_eight.png)\r\n\r\n*Stanford bunny:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/StanfordBunny.png)\r\n\r\n*Stanford dragon:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/PoissonExamples/StanfordDragon.png)\r\n\r\n\r\n## Advanced front surface reconstruction\r\n\r\n*Stanford bunny:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/AFSexamples/Bunny.png)\r\n\r\n*Stanford dragon:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/AFSexamples/StanfordDragon.png)\r\n\r\n*Dummy head:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/AFSexamples/DummyHead.png)\r\n\r\n*Skull:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/AFSexamples/Skull.png)\r\n\r\n\r\n## Elevated Delaunay triangulation\r\n\r\n*Bivariate Gaussian density:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/DelaunayExamples/bivariateGaussian.png)\r\n\r\n*Volcano:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/DelaunayExamples/volcano.png)\r\n\r\n\r\n## Constrained Delaunay triangulation\r\n\r\n*Face:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/DelaunayExamples/face.png)\r\n\r\n\r\n## Convex hull\r\n\r\n*Leonardo da Vinci's 72-sided sphere:*\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/ConvexHullExamples/Leonardo.gif)\r\n\r\n\r\n## Boolean operations on meshes\r\n\r\n#### Intersection\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/BooleanExamples/Intersection.png)\r\n\r\n#### Difference\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/BooleanExamples/Difference.png)\r\n\r\n#### Union\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/BooleanExamples/Union.png)\r\n\r\n![](https://raw.githubusercontent.com/stla/RCGAL/main/inst/BooleanExamples/tetrahedraCompound.gif)\r\n\r\n\r\n## License\r\n\r\nThis package is provided under the GPL-3 license. If you wish to use CGAL for \r\ncommercial purposes, you must obtain a license from the \r\n[GeometryFactory](https://geometryfactory.com).\r\n\r\n\r\n\r\n## Blog post\r\n\r\nI wrote a [blog post](https://laustep.github.io/stlahblog/posts/SurfaceReconstruction.html) devoted to **RCGAL**.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Frcgal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstla%2Frcgal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Frcgal/lists"}