meshArea | R Documentation |
Computes the surface area a mesh.
meshArea(mesh)
mesh |
a mesh given either as a list containing (at least) the two fields
|
A number, the surface area of the mesh.
library(MeshesOperations) R <- 4; r <- 2 mesh <- torusMesh(R, r) meshArea(mesh) # true area of the torus: 4 * pi^2 * R * r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.