Nothing
######## R function: triPolyhCentroid #########
# For determining the centroid of a triangular-faced
# polyhedron.
# Last changed: 02 DEC 2008
triPolyhCentroid <- function(triPolyHedron)
{
v1 <- triPolyHedron$v1
v2 <- triPolyHedron$v2
v3 <- triPolyHedron$v3
Rvecs <- (v1+v2+v3)/3
sumsq <- function(x)
return(sum(x^2))
Areas <- sqrt(apply(extprod3d((v2-v1),(v3-v1)),1,sumsq))
return(apply(Areas*Rvecs,2,sum)/sum(Areas))
}
############ End of triPolyhCentroid #########
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.