2D Polygon edges intersection

Find the intersection points of the edges of two 2D polygons.

You are now following this Submission

This is an upgraded version of Bruno Luong's original code. Added features are:
  • convert input P1 and P2 matrix to be column major
  • add MATLAB coder related lines to support code generation

Cite As

Yingao Zhang (2026). 2D Polygon edges intersection (https://www.mathworks.com/matlabcentral/fileexchange/125380-2d-polygon-edges-intersection), 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.0.3

fix comment typo s1->s

1.0.2

update comment from array to matrix

1.0.1

Update snapshot image

1.0.0