image thumbnail

Complex Polygon Area

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

95 Downloads

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 (https://www.mathworks.com/matlabcentral/fileexchange/60834-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!