Skip to content

Shapemetry API


Shapemetry API / Polygon

Type Alias: Polygon

Polygon = Point2d[][]

Defined in: types.ts:30

Single 2D polygon with optional holes: rings[0] = outer (CCW), rings[1..] = holes (CW).