2D Polygon edges intersection

Find the intersection points of the edges of two 2D polygons.
5 Downloads
Updated 26 Feb 2023

View License

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 (2024). 2D Polygon edges intersection (https://www.mathworks.com/matlabcentral/fileexchange/125380-2d-polygon-edges-intersection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
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!
Version Published Release Notes
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