Skip to content

Intermact API Reference / @intermact/core / signedArea

Function: signedArea()

signedArea(ring): number

Defined in: packages/core/src/geometry/boolean.ts:54

Signed area of a closed ring (positive => counter-clockwise).

Parameters

ring

readonly AbsXY[]

Returns

number

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)