meshOffset | R Documentation |
translate vertices of a triangular mesh along its normals
meshOffset(mesh, offset)
mesh |
triangular mesh of class "mesh3d" |
offset |
distance to translate the vertices |
returns modified mesh.
Stefan Schlager
require(Morpho)
data(nose)
offset <- meshOffset(shortnose.mesh,3)
## Not run:
require(rgl)
shade3d(shortnose.mesh,col=3)
wire3d(offset)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.