spheretri

SPHERETRI performs a triangulation of a unit sphere based on Icosahedron face partitioning
789 Downloads
Aktualisiert 2. Dez 2020

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

Zitieren als

Peter Gagarinov (2024). spheretri (https://github.com/pgagarinov/spheretri), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Bounding Regions finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0.0

Added a link to github
Slightly updated description
Cosmetic update
Updated description
Minor fixes to the description
Title change

Added an example
Minor changes to the description
Cosmetic update
Cosmetic change in the logo

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.