New Polygon Clipping and Offsetting

Polygon Clipping and Offsetting
1,3K Descargas
Actualizado 9 feb 2017

Ver licencia

Provide a front end to Angus Johnson's polygon clipping and offsetting algorithms.
Two functions are provided:
* polyclip(x1,y1,x2,y2,method) finds the difference/intersection/xor/union (depending on "method") between two polygons
* polyout(x1,y1,delta,join,joininfo) outsets a polygon by distance delta, using the given corner join method (and optional joininfo specifying more details about the corner) [corner is 'round' or 'square' or 'miter']. Insetting is accomplished with a negative delta.
See the README.txt file for where to download Angus Johnson's clipper C++ code and for compiling instructions.

Citar como

Erik Johnson (2026). New Polygon Clipping and Offsetting (https://la.mathworks.com/matlabcentral/fileexchange/61329-new-polygon-clipping-and-offsetting), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Elementary Polygons en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Polygon Clipping and Offsetting

Versión Publicado Notas de la versión
1.0.2.0

Minor bug fixes (correct string specification of join type in polyclip; fix single-output calling methods of polyout and polyclip).

1.0.1.0

Added screenshot, slight updated to documentation.

1.0.0.0