Skip to content
Seth Hillbrand edited this page Oct 29, 2026 · 2 revisions

Home › clipper.h › Area

Area

double Area(const Path64 &poly);

This function returns the area of the supplied polygon. It's assumed that the path is closed and does not self-intersect. Depending on the path's winding orientation, this value may be positive or negative. Assuming paths are displayed in a Cartesian plane (with X values increasing heading right and Y values increasing heading up) then clockwise winding will have negative areas and counter-clockwise winding have positive areas. Conversely, when paths are displayed where Y values increase heading down, then clockwise paths will have positive areas, and counter-clockwise paths will have negative areas.

See Also

IsPositive, Path64

Clone this wiki locally