icosphere (with frequency or recursive subdivision)
Versión 1.0.0 (5,47 KB) por
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
Citar como
Lloyd Fung (2024). icosphere (with frequency or recursive subdivision) (https://github.com/llfung/icosphere/releases/tag/v1.0.0), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022a
Compatible con cualquier versión desde R2013a
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: icosphere
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.