New Polygon Clipping and Offsetting

버전 1.0.2.0 (13.5 KB) 작성자: Erik Johnson
Polygon Clipping and Offsetting
다운로드 수: 1.2K
업데이트 날짜: 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 (2024). New Polygon Clipping and Offsetting (https://www.mathworks.com/matlabcentral/fileexchange/61329-new-polygon-clipping-and-offsetting), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
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.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