Twice the signed area of a closed polygon, positive when counter-clockwise.
The ring closes from last to first in its planar frame; units are squared polygon units and counter-clockwise uses x right, y up. Empty input returns zero. In exact arithmetic the shoelace sum is twice signed area, or a winding-weighted sum for self-crossings; this binary64 accumulation can cancel or overflow, especially for small regions at large offsets.
Twice the signed area of a closed polygon, positive when counter-clockwise.
The ring closes from last to first in its planar frame; units are squared polygon units and counter-clockwise uses x right, y up. Empty input returns zero. In exact arithmetic the shoelace sum is twice signed area, or a winding-weighted sum for self-crossings; this binary64 accumulation can cancel or overflow, especially for small regions at large offsets.