Identify convex and concave parts of polygon
バージョン 1.0.3 (22.7 KB) 作成者:
Are Mjaavatten
c = convex([x,y]) c = 1 where the polygon curves toward the interior c = -1 where the polygon curves outwards
This function can be used to identify convex and concave parts of a polygon, such as the airfoil profile in the figure.
Thanks to Luigi Ventre who posed the problem in a comment to File Exchange entry Curvature of a 1D curve in a 2D or 3D space.
引用
Are Mjaavatten (2024). Identify convex and concave parts of polygon (https://www.mathworks.com/matlabcentral/fileexchange/102169-identify-convex-and-concave-parts-of-polygon), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2021b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!