Convert Ellipses to Polygons

版本 1.0.1 (1.5 KB) 作者: Ayad Al-Rumaithi
Discretize ellipses to polygons with nearly equal segments lengths
183.0 次下载
更新时间 2024/9/15

查看许可证

Discretize ellipses to polygons with nearly equal segments lengths
function Polygons=Ellipses2Polygons(Ellipses,L)
Input
Ellipses: (NEllipses*5) array. each column represent:
(:,1): radius of ellipses at direction 1
(:,2): radius of ellipses at direction 2
(:,3): x-cooridante of centroid
(:,4): y-coordinate of centroid
(:,5): Inclination angle
L: Approximate segement length of the polygons
Output
Polygons: a cell array where Polygons{i} is (n*2) polygons vertices array of the ith ellipse

引用格式

Ayad Al-Rumaithi (2024). Convert Ellipses to Polygons (https://www.mathworks.com/matlabcentral/fileexchange/71572-convert-ellipses-to-polygons), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Elementary Polygons 的更多信息

Community Treasure Hunt

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

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

Added Website

1.0.0