New Polygon Clipping and Offsetting

バージョン 1.0.2.0 (13.5 KB) 作成者: Erik Johnson
Polygon Clipping and Offsetting
ダウンロード: 1.3K
更新 2017/2/9

ライセンスの表示

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.

引用

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

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersElementary Polygons についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: Polygon Clipping and Offsetting

バージョン 公開済み リリース ノート
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