creates mesh by subdividing icosahedron faces
Syntax
TR = swplot.icomesh(nMesh)
Description
TR = swplot.icomesh(nMesh)
outputs a triangulation that is generated by
subdividing icosahedron faces. The triangulation will contain
(where ) triangular faces. The output can be plotted using the
trimesh function.
Examples
This example shows how to create and plot the icosahedron.
TR = swplot.icomesh
trimesh(TR)
Input Arguments
nMesh
- Number of subdivisions. Default value is 0, when the function returns the icosahedron.
Output Arguments
TR
- Triangulation class object for plotting with trimesh.