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 (2024). spheretri (https://github.com/pgagarinov/spheretri), GitHub. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | Added a link to github
Added an example
|
|