image thumbnail

Complex Polygon Area

version (3.21 KB) by Josh Schaefferkoetter
Simply routine for calculating area of complex, self-intersecting polygon


Updated 20 Dec 2016

View License

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 (2021). Complex Polygon Area (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
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!