icosphere

版本 1.2.0.0 (4.8 KB) 作者: wil
Generate unit geodesic sphere created by subdividing a regular icosahedron
1.6K 次下载
更新时间 2015/3/19

查看许可证

Creates a unit sphere created using regular triangles with resolution defined by a given number of subdivisions.
[V,F] = icosphere(N) generates to matrices containing vertex and face data so that patch('Faces',F,'Vertices',V) produces a unit icosphere with N subdivisions.
FV = icosphere(N) generates an FV structure for using with patch.
icosphere(N) displays the icosphere as a patch on the current axes and does not return anything.

icosphere on its own uses N = 3.

icosphere(AX,...) plots into AX instead of GCA.

Differs from MATLAB builtin function sphere(N) in that it creates a uniform grid of triangles rather than quads formed by stacks and slices (UV sphere).

引用格式

wil (2024). icosphere (https://www.mathworks.com/matlabcentral/fileexchange/50105-icosphere), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Elementary Polygons 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

name

1.1.0.0

removed sorting of face rows to fix winding (all faces wound counter-clockwise) [L63]

1.0.0.0