sphereMesh: Sphere mesh

View source: R/someMeshes.R

sphereMeshR Documentation

Sphere mesh

Description

Triangle mesh of a sphere.

Usage

sphereMesh(x = 0, y = 0, z = 0, r = 1, iterations = 3L)

Arguments

x, y, z

coordinates of the center

r

radius

iterations

number of iterations (the mesh is obtained by iteratively subdividing the faces of an icosahedron)

Value

A rgl mesh (class mesh3d).


cgalMeshes documentation built on July 9, 2023, 7:45 p.m.