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
다운로드 수: 127
업데이트 날짜: 2021/11/18

라이선스 보기

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!
버전 게시됨 릴리스 정보
1.0.3

Corrected another bug in convex_demo

1.0.2

Fixed bug in convex_demo.m

1.0.1

Added demo file

1.0.0