Meshing a spherical shell

버전 1.0.0.0 (1.84 KB) 작성자: Bilen Oytun Peksel
This small function meshes a spherical shell and returns to unique vertices and proper faces matrix
다운로드 수: 432
업데이트 날짜: 2012/11/1

라이선스 보기

% mesh_sph meshes the given spherical shell which is defined bu rho the
% radius theta the azimuth angle and phi the polar angle. For more info
% type doc sph2cart. Theta is 0<theta<2*pi and pi/2<phi<pi/2
% rho is always positive double. In order to determine the mesh size
% choose an increment for each angle as shown in the examples
% Returns to vertices matrix `vert` and faces matrix `faces`
%Examples:
% Meshing a full sphere with radius 1, 8 faces along theta and 4 faces
%along phi
%[v f] = mesh_sph(1,0:pi/4:2*pi, -pi/2:pi/8:pi/2)
%
% Meshing an upper hemi-sphere with 4 faces along theta and 8 faces along
% phi
%[v f] = mesh_sph(1,0:pi/2:2*pi, 0:pi/16:pi/2)

인용 양식

Bilen Oytun Peksel (2024). Meshing a spherical shell (https://www.mathworks.com/matlabcentral/fileexchange/38873-meshing-a-spherical-shell), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0