icosphere (with frequency or recursive subdivision)
版本 1.0.0 (5.5 KB) 作者:
Lloyd Fung
Creating a Class I geodesic icosahedron of unit radius through frequency or recursive subdivision.
ICOSPHERE
Creating a Class I geodesic icosahedron of unit radius through subdivision.
This MATLAB script contains options to choose two different starting regular icosahedron at different rotation angles, and two different subdivision algorithms.
Usage
[V,F] = icosphere(N);
generates to matrices containing vertices V and faces F in the form of rowID in V, with each edge subdivided into N equal segments.
Use
trimesh(icosphere(N));axis equal;
to plot the resulting sphere.
Geodesic Notation
This script generates a geodesic polyhedron.
References
This script is inspired by
- C# code by Andres Kahler
- MATLAB code by Wil O.C. Ward
- Python Geodesic Icosphere package by vedranaa
引用格式
Lloyd Fung (2024). icosphere (with frequency or recursive subdivision) (https://github.com/llfung/icosphere/releases/tag/v1.0.0), GitHub. 检索时间: .
MATLAB 版本兼容性
创建方式
R2022a
与 R2013a 及更高版本兼容
平台兼容性
Windows macOS Linux标签
致谢
参考作品: icosphere
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。