Learn R Programming

MeshesOperations: operations on 3D meshes with R

Using the C++ library CGAL to perform operations on 3D Meshes.

Boolean operations on meshes

Intersection

Difference

Union

Shape smoothing

Minkowski sum

  • Octahedron + sphere:

  • Tetrahedron + truncated icosahedron:

Decomposition in convex parts

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.

Blog posts

I wrote a blog post devoted to Boolean operations on meshes (using RCGAL, the ancestor of MehesOperations), and another one showing an example of the Minkowski addition.

Copy Link

Version

Install

install.packages('MeshesOperations')

Monthly Downloads

2

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stc3<a9>phane Laurent

Last Published

August 12th, 2022

Functions in MeshesOperations (0.1.0)

MeshesUnion

Meshes union
clipMesh

Clip a mesh
MeshesDifference

Meshes difference
MinkowskiSum

Minkowski sum of two meshes
connectedComponents

Connected components of a 3D mesh
MeshesIntersection

Meshes intersection
NonConvexPolyhedron

A mesh of a non-convex polyhedron
HopfTorusMesh

Hopf torus mesh
convexParts

Decomposition into convex parts
Mesh

Make a 3D mesh
meshVolume

Mesh volume
isotropicRemesh

Isotropic remeshing
pentagrammicPrism

A mesh of a pentagrammic prism
torusMesh

Torus mesh
toRGL

Conversion to 'rgl' mesh
octahedraCompound

Compound of five octahedra
sampleOnMesh

Sampling on a mesh
smoothShape

Smoothing of the shape of a mesh
meshArea

Mesh area
tetrahedraCompound

Compound of five tetrahedra
plotEdges

Plot some edges
sphereMesh

Sphere mesh
distancesToMesh

Distance to a mesh
writeMeshFile

Export mesh to a file
cyclideMesh

Cyclide mesh
truncatedIcosahedron

A mesh of the truncated icosahedron
readMeshFile

Read a mesh file
qsqrt

Rational approximation of square roots