meshCentroid | R Documentation |
Computes the centroid of a closed mesh.
meshCentroid(mesh)
mesh |
a mesh given either as a list containing (at least) the two fields
|
The centroid of the mesh given as a numeric vector.
library(MeshesTools) mesh <- cyclideMesh(a = 97, c = 32, mu = 57) meshCentroid(mesh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.