File Exchange

image thumbnail

Accurate polygon extension

version 1.5.0.0 (8.03 KB) by Krispijn Scholte
Enlarges polygon by a specified range. Also generates internal polygons caused by intersections.

3.1K Downloads

Updated 27 Jan 2009

View License

This function extends a polygon by a specified range. It also generates internal polygons caused by intersections.

The resulting polygon does not preserve the original shape of the input polygon (see screenshot above), but represents the range specified from the input polygon.

Example of usage is given in the m-file header (or type "help extendPoly").

Credit to NS for the self intersection algorithm.

Cite As

Krispijn Scholte (2021). Accurate polygon extension (https://www.mathworks.com/matlabcentral/fileexchange/21925-accurate-polygon-extension), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!