Package: SurfaceMesh 0.1.1

SurfaceMesh: 3D Surface Meshes Based on 'CGAL'

Processing of 3D surface meshes based on the 'C++' library for computational geometry 'CGAL' (<https://www.cgal.org/>). Reads and writes common file formats for meshes and polygon soups. Supports mesh repair, remeshing, subdivision, Boolean operations on bounded volumes, outlier removal, surface reconstruction, (optimal) bounding box, bounding sphere, bounding ellipsoid, convex hull, vertex normals, surface distance metrics (such as Hausdorff), and volume-overlap similarity measures ('JSC', 'DSC'). Adapts code from packages 'Boov' and 'cgalMeshes' developed by Stephane Laurent.

Authors:Daniel Wollschlaeger [aut, cre], Stephane Laurent [aut], The CGAL Project [cph]

SurfaceMesh_0.1.1.tar.gz
SurfaceMesh_0.1.1.zip(r-4.7-x86_64)SurfaceMesh_0.1.1.zip(r-4.7-arm64)SurfaceMesh_0.1.1.zip(r-4.6-x86_64)SurfaceMesh_0.1.1.zip(r-4.6-arm64)SurfaceMesh_0.1.1.zip(r-4.5-x86_64)
SurfaceMesh_0.1.1.tgz(r-4.6-x86_64)SurfaceMesh_0.1.1.tgz(r-4.6-arm64)SurfaceMesh_0.1.1.tgz(r-4.5-x86_64)SurfaceMesh_0.1.1.tgz(r-4.5-arm64)
SurfaceMesh_0.1.1.tar.gz(r-4.7-arm64)SurfaceMesh_0.1.1.tar.gz(r-4.7-x86_64)SurfaceMesh_0.1.1.tar.gz(r-4.6-arm64)SurfaceMesh_0.1.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
SurfaceMesh/json (API)

# Install 'SurfaceMesh' in R:
install.packages('SurfaceMesh', repos = c('https://dwoll.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dwoll/surfacemesh/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.40 score 56 exports 32 dependencies

Last updated from:79f4bf0e8b. Checks:14 ERROR, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR777
linux-devel-x86_64ERROR826
source / vignettesERROR1168
linux-release-arm64ERROR787
linux-release-x86_64ERROR849
macos-release-arm64ERROR749
macos-release-x86_64ERROR1120
macos-oldrel-arm64ERROR728
macos-oldrel-x86_64ERROR1525
windows-devel-arm64ERROR849
windows-devel-x86_64ERROR1177
windows-release-arm64ERROR842
windows-release-x86_64ERROR1097
windows-oldrel-x86_64ERROR851
wasm-releaseFAIL240

Exports:addVertexNormalsalphaWrapboolDifferenceboolIntersectionboolUniondoesBoundVolumedoesSelfIntersectfillBoundaryHolesgetAreagetAverageSpacinggetBoundingBoxgetBoundingEllgetBoundingSpheregetCentroidgetConvexHullgetDCOMgetDistancegetHausdorffgetJSCDSCgetNormalsFungetSurfaceDistgetVertexNormalsgetVolumehasGarbageisClosedisOutwardOrientedisQuadisTriangleisValidmakeMeshmakeMeshValidmeshEllipsoidmeshIsoCuboidmeshSphereorientToBoundVolumeplotEdgesreadMeshFilereconstructAFSreconstructPoissonreconstructSSSremeshACVDremeshDelaunayremeshIsotropicremeshSimplifyremeshSmoothAngleremeshSmoothShaperemeshSmoothTangentRelaxremoveOutliersremoveSelfIntersectionsreverseFaceOrientationssamplePointssetVertexNormalssubdividetoRGLtriangulateMeshwriteMeshFile

Dependencies:base64encBHbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeR6rappdirsRcppRcppCGALRcppEigenrglrlangrmarkdownsasstinytexxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Add vertex normals to a meshaddVertexNormals
3D alpha wrappingalphaWrap
Difference between two meshesboolDifference
Intersection of meshesboolIntersection
Union of meshesboolUnion
Mesh of a Dupin cyclidedataCyclide
Mesh of an Entzensberger stardataEntzenStar
Mesh of a human heart from a CT scandataHeart1
Mesh of a human heart from a CT scandataHeart2
Mesh of a Hopf torusdataHopfTorus
Mesh of an ICN5D eightdataICN5Deight
Mesh of an oloiddataOloid
Mesh of an ortho circledataOrthoCircle
Mesh of a pentagrammic prismdataPentaPrism
Mesh of a septuagintadataSeptuaginta
Mesh of a solid Mobius stripdataSolidMobiusStrip
Mesh of a spheredataSphere
Mesh of a spider cagedataSpiderCage
Mesh of a toroidal helixdataToroHelix
Mesh of a torusdataTorus
Mesh of the truncated icosahedrondataTruncIcosahedron
Mesh of a tubular knotdataTubularKnot
Does mesh bound a volume?doesBoundVolume
Does mesh self intersect?doesSelfIntersect
Fill boundary holesfillBoundaryHoles
Get mesh areagetArea
Compute average spacing of input pointsgetAverageSpacing
Get bounding box (axis-parallel or oriented)getBoundingBox
Bounding ellipsoid of a set of 3D pointsgetBoundingEll
Bounding sphere of a set of 3D pointsgetBoundingSphere
Get mesh centroid (center of mass)getCentroid
Convex hull of a set of 3D pointsgetConvexHull
Euclidean distance between center of mass of two meshesgetDCOM
Get distance from points to a meshgetDistance
Hausdorff distance between two meshes (full or quantile)getHausdorff
Jaccard Similarity Coefficient and Dice Similarity CoefficientgetJSCDSC
Function to generate normals for a point cloudgetNormalsFun
Several distance metrics between two meshesgetSurfaceDist
Get vertex normals of a meshgetVertexNormals
Get mesh volumegetVolume
Does mesh have garbage?hasGarbage
Is mesh closed?isClosed
Is mesh outward oriented?isOutwardOriented
Is mesh a quad mesh?isQuad
Is mesh a triangle mesh?isTriangle
Is mesh a valid mesh?isValid
Make a 3D meshmakeMesh
Make a 3D mesh assuming valid inputmakeMeshValid
Ellipsoid meshmeshEllipsoid
Iso-oriented cuboidmeshIsoCuboid
Sphere meshmeshSphere
Orient mesh to bound a volumeorientToBoundVolume
Plot some edgesplotEdges
Read a mesh filereadMeshFile
Advancing front surface reconstructionreconstructAFS
Poisson surface reconstructionreconstructPoisson
Scale-space surface reconstructionreconstructSSS
Approximated centroidal Voronoi diagram remeshingremeshACVD
Surface Delaunay remeshingremeshDelaunay
Isotropic remeshingremeshIsotropic
Triangulated surface mesh simplificationremeshSimplify
Smoothing by angle optimizationremeshSmoothAngle
Smooth shaperemeshSmoothShape
Smoothing by tangential relaxationremeshSmoothTangentRelax
Remove outliers from 3D point cloudremoveOutliers
Remove self intersectionsremoveSelfIntersections
Reverse orientation of mesh facesreverseFaceOrientations
Sample vertices on meshsamplePoints
Assign normal vectors to mesh verticessetVertexNormals
Subdivision and deformationsubdivide
Conversion to 'rgl' meshtoRGL
Triangulate meshtriangulateMesh
Export mesh to a filewriteMeshFile