Divide Polygon

버전 1.4 (2.44 KB) 작성자: Ayad Al-Rumaithi
Divide polygon into smaller polygons set by grid
다운로드 수: 250
업데이트 날짜: 2019/5/24

라이선스 보기

Divide polygon into smaller polygons set by grid

function PXY=DIVIDEXY(polygon,NX,NY)

Input
polygon: a structure consist of polygon.x (vector of x-coordinates) and polygon.y (vector of y-coordinates)
NX: Number of divisions in x direction
NY: Number of divisions in y direction

Output
PXY: a cell array where PX{i,j}.x and PX{i,j}.y are vectors of x and y coordinates of new polygon in (i,j) grid position

Example file is also provided

인용 양식

Ayad Al-Rumaithi (2024). Divide Polygon (https://www.mathworks.com/matlabcentral/fileexchange/71635-divide-polygon), 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.4

version

1.03.0.1

description

1.0.1

description

1.0.0