my_sphere_tri_mesh: Sphere Triangular Mesh

Description Usage Arguments Examples

View source: R/my_sphere_tri_mesh.R

Description

This function gives 3D coordinates of triangular mesh on sphere..

Usage

1
my_sphere_tri_mesh(n.psi = 30)

Arguments

n.psi

is an integer.

Examples

1
2
3
4
sp.mesh <- my_sphere_tri_mesh(n.psi=30)
library(rgl)
plot3d(sp.mesh$xyz)
segments3d(sp.mesh$xyz[c(t(sp.mesh$edge)),])

ryamada22/Rryamada documentation built on May 28, 2019, 10:43 a.m.