Accurate polygon extension

Enlarges polygon by a specified range. Also generates internal polygons caused by intersections.

Download
Download

You are now following this Submission

Cite As

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

General Information

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.

Download
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.

Download
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.

Download
1.2.0

Added a bunch error and warning messages for badly formed input. Automatically closes input polygon if not closed (warning generated).

Download
1.1.0

Fixed bug in determining if input polygon is defined CW or CCW

Download
1.0.0

Download