Skip to content

Intermact API Reference / @intermact/core / contourTotalLength

Function: contourTotalLength()

contourTotalLength(contour): number

Defined in: packages/core/src/geometry/sampling.ts:70

Total arc length of a sampled contour, including the closing segment when applicable.

Parameters

contour

SampledContour2D

Returns

number

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