Circular meshes

版本 1.0.0 (7.0 KB) 作者: Nicolas Douillet
Sphere and torus circular meshes
2.0 次下载
更新时间 2024/1/12

查看许可证

Command example for the sphere :
sphere_circular_mesh(4, 32);
with :
  • n = 4 is the -positive integer- number of oversampling iterations of the icosahedron (sphere mesh base); a few integers
  • nb_samples = 32 -positive integer- is the number of samples used to display each circle; a few dozens;
Command example for the torus :
torus_circular_mesh(24,6, 32);
with :
  • R = 24 is the -positive integer- number of circles alongside torus large perimeter; a few dozens of integers;
  • r = 6 is the -positive integer- number of circles alongside torus small perimeter; a few integers; R/r >= 3 is a good ratio;
  • nb_samples = 32 is -positive integer- the number of samples used to display each circle; a few dozens;
Please don't forget to rate if this code helped you. Thanks ! ;-)

引用格式

Nicolas Douillet (2024). Circular meshes (https://www.mathworks.com/matlabcentral/fileexchange/157491-circular-meshes), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0