spheretri
SPHERETRI is a set of high-performance vectorized MATLAB functions for building a triangulation of a unit sphere based on recursive partitioning of each of Icosahedron faces. The resulting triangulation vertices form a nearly even grid on a surface of a sphere.
The latest version is always on GitHub: https://github.com/pgagarinov/spheretri
Example #1 (100k points):
>> nPoints=100000;
>> tic;[vMat,fMat]=spheretri(nPoints);toc;
Elapsed time is 0.103696 seconds.
>> size(vMat)
ans =
163842 3
Example #2 (1 million points):
>> nPoints=1000000;
>> tic;[vMat,fMat]=spheretri(nPoints);toc;
Elapsed time is 1.988475 seconds.
>> size(vMat)
ans =
2621442 3
引用
Peter Gagarinov (2026). spheretri (https://github.com/pgagarinov/spheretri), GitHub. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
GitHub の既定のブランチを使用するバージョンはダウンロードできません
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 | Added a link to github
Added an example
|
|
