Complex Polygon Area

Simply routine for calculating area of complex, self-intersecting polygon

You are now following this Submission

The function computes the area of a polygon accounting for relative winding. Area is calculated by segment integration, summed over slices, with boundaries defined by all vertex and intersection points.
This method computes the area of a complex shape consistent with the MATLAB 'inpolygon' function.

Cite As

Josh Schaefferkoetter (2026). Complex Polygon Area (https://www.mathworks.com/matlabcentral/fileexchange/60834-complex-polygon-area), 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.0.0