The geometric meshes included in package SurfaceMesh
were originally part of R packages SurfaceReconstruction
and cgalMeshes,
developed and copyright by Stéphane Laurent. Please
see the following directory for the .R scripts that
generate the meshes.
## package installation directory depends on system
d <- system.file("data-raw", package="SurfaceMesh")
list.files(d)## [1] "00_GenerateMeshes.R" "00_SurfaceReconstruction.R"
## [3] "Cyclide.R" "EntzenStar.R"
## [5] "HopfTorus.R" "ICN5Deight.R"
## [7] "IsoCuboid.R" "Oloid.R"
## [9] "OrthoCircle.R" "PentaPrism.R"
## [11] "Septuaginta.R" "SolidMobiusStrip.R"
## [13] "Sphere.R" "SpiderCage.R"
## [15] "Tetrahedron.R" "ToroidalHelix.R"
## [17] "Torus.R" "TruncIcosahedron.R"
## [19] "TubularKnot.R"
meshPentaPrism <- makeMesh(dataPentaPrism, triangulate=TRUE)
view3d(-15, -15, zoom=0.8)
shade3d(toRGL(meshPentaPrism), color="forestgreen")