{"id":25059966,"url":"https://github.com/stla/cgalmeshes","last_synced_at":"2025-04-14T14:24:58.025Z","repository":{"id":62951918,"uuid":"558958300","full_name":"stla/cgalMeshes","owner":"stla","description":"R6 based utilities for 3D meshes.","archived":false,"fork":false,"pushed_at":"2024-05-16T09:18:26.000Z","size":87156,"stargazers_count":16,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T03:24:36.482Z","etag":null,"topics":["cgal","computational-geometry","mesh","r","r6","rcpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stla.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"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":"2022-10-28T17:24:53.000Z","updated_at":"2024-12-09T11:37:57.000Z","dependencies_parsed_at":"2025-02-06T15:56:11.644Z","dependency_job_id":"68bf0b75-b60c-492d-9551-aa6791ceb5d8","html_url":"https://github.com/stla/cgalMeshes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FcgalMeshes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FcgalMeshes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FcgalMeshes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FcgalMeshes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stla","download_url":"https://codeload.github.com/stla/cgalMeshes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248895605,"owners_count":21179264,"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","mesh","r","r6","rcpp"],"created_at":"2025-02-06T15:56:03.023Z","updated_at":"2025-04-14T14:24:57.996Z","avatar_url":"https://github.com/stla.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cgalMeshes\n\nR6 based utilities for 3D meshes.\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/stla/cgalMeshes/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/stla/cgalMeshes/actions/workflows/R-CMD-check.yaml)\n[![R-CMD-check-valgrind](https://github.com/stla/cgalMeshes/actions/workflows/R-CMD-check-valgrind.yaml/badge.svg)](https://github.com/stla/cgalMeshes/actions/workflows/R-CMD-check-valgrind.yaml)\n\u003c!-- badges: end --\u003e\n\n\n### Geodesic distance \n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/trefoilKnot.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/knot-2-5.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/dragon.png)\n\n\n### Clipping\n\n![](https://raw.githubusercontent.com/stla/MeshesTools/main/inst/screenshots/Togliatti.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/clippedThreeCylinders.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/clippedFourCylinders.gif)\n\n\n### Fairing\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/HopfTorus.gif)\n\n\n### Decomposition into convex parts\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/pentagrammicPrism.png)\n\n\n### Convex hull\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/oloid.gif)\n\n\n### Subdivision methods\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/Hopf_LoopSubdivision.png)\n\n\n### Hole filling\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/main/inst/screenshots/holeFilling.png)\n\n\n### Boolean operations\n\n#### Intersection\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/Intersection.png)\n\n![](https://laustep.github.io/stlahblog/posts/figures/tetrahedraCompoundIntersection.gif)\n\n#### Difference\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/Difference.png)\n\n#### Union\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/Union.png)\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/tetrahedraCompound.gif)\n\n\n### Advanced front surface reconstruction\n\n*Stanford bunny:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/AFSexamples/Bunny.png)\n\n*Stanford dragon:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/AFSexamples/StanfordDragon.png)\n\n*Dummy head:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/AFSexamples/DummyHead.png)\n\n*Skull:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/AFSexamples/Skull.png)\n\n\n### Minkowski addition\n\n*Octahedron + sphere:*\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/OctahedronPlusSphere.gif)\n\n*Tetrahedron + truncated icosahedron:*\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/TetrahedronPlusTruncatedIcosahedron.gif)\n\n*Septuaginta + great stellated dodecahedron:*\n\n![](https://raw.githubusercontent.com/stla/MinkowskiSum/main/inst/screenshots/septuaginta_gsdodecahedron.gif)\n\n*Stanford bunny + sphere:*\n\n![](https://raw.githubusercontent.com/stla/MinkowskiSum/main/inst/screenshots/bunny.png)\n\n\n### Other tools\n\nVolume, area, centroid, distance between a point and a mesh, connected \ncomponents, Haussdorf distance, random sampling on the surface of a mesh.\n\n\n## More features\n\nThere are more features in the **github** branch, to install with:\n\n```r\nremotes::install_github(\"stla/cgalMeshes@github\", dependencies = TRUE, build_vignettes = TRUE)\n```\n\n### Poisson reconstruction\n\n*Spider cage:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/PoissonExamples/SpiderCage.png)\n\nHere is a series of three images which show the effect of this `spacing` \nparameter (0.05, 0.02, 0.005):\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/PoissonExamples/SolidMobiusStrip_spacings.png)\n\n*Stanford bunny:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/PoissonExamples/StanfordBunny.png)\n\n*Stanford dragon:*\n\n![](https://raw.githubusercontent.com/stla/SurfaceReconstruction/master/inst/PoissonExamples/StanfordDragon.png)\n\n\n### Shape smoothing\n\n*Hopf torus:*\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/HopfTorusSmoothed.gif)\n\n*Stanford bunny:*\n\n![](https://raw.githubusercontent.com/stla/MeshesOperations/master/inst/screenshots/StanfordBunnySmoothed.gif)\n\n\n### Surface mesh parameterization\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/github/inst/screenshots/Enneper-radialCheckerboard-DCP.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/github/inst/screenshots/halfHopfTorus-Schmidt.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/github/inst/screenshots/Togliatti-DCP.gif)\n\n![](https://raw.githubusercontent.com/stla/cgalMeshes/github/inst/screenshots/SphericalCap-FermatSpiral.gif)\n\n\n## Blog posts\n\n- ['CGAL' meets 'R6': the 'cgalMeshes' package](https://laustep.github.io/stlahblog/posts/cgalMeshes.html)\n\n- [Update of 'cgalMeshes'](https://laustep.github.io/stlahblog/posts/cgalMeshes2.html)\n\n- [3D alpha wrapping with R](https://laustep.github.io/stlahblog/posts/alphaWrapping.html)\n\n\n## License\n\nThis package is provided under the GPL-3 license but it uses the C++ library \nCGAL. If you wish to use CGAL for commercial purposes, you must obtain a \nlicense from the [GeometryFactory](https://geometryfactory.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fcgalmeshes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstla%2Fcgalmeshes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fcgalmeshes/lists"}