Divide Polygon

Divide polygon into smaller polygons set by grid
249 Downloads
Aktualisiert 24 Mai 2019

Lizenz anzeigen

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

Zitieren als

Ayad Al-Rumaithi (2024). Divide Polygon (https://www.mathworks.com/matlabcentral/fileexchange/71635-divide-polygon), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2017b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Elementary Polygons finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.4

version

1.03.0.1

description

1.0.1

description

1.0.0