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.
Josh Schaefferkoetter (2021). Complex Polygon Area (https://www.mathworks.com/matlabcentral/fileexchange/60834-complex-polygon-area), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!