Accurate polygon extension
Enlarges polygon by a specified range. Also generates internal polygons caused by intersections.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Krispijn Scholte (2026). Accurate polygon extension (https://se.mathworks.com/matlabcentral/fileexchange/21925-accurate-polygon-extension), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Fast and Robust Self-Intersections, Curve intersections
General Information
- Version 1.5.0 (8 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.5.0 | v1.5 Replaced selfintersection algorithm because it yielded inaccurate results; added user definable resolution parameter for drawing the circle pieces of the resulting polygon. |
||
| 1.4.0 | v1.5: Replaced selfintersection algorithm because it yielded inaccurate results; added user definable resolution parameter for drawing the circle pieces of the resulting polygon. |
||
| 1.3.0 | New and faster CW/CCW detection method for the input polygon. Old method returned incorrect results when the polygon points have negative x-values only. |
||
| 1.2.0 | Added a bunch error and warning messages for badly formed input. Automatically closes input polygon if not closed (warning generated). |
||
| 1.1.0 | Fixed bug in determining if input polygon is defined CW or CCW |
||
| 1.0.0 |