Skip to content

Intermact API Reference / @intermact/core / resampleByArcLength

Function: resampleByArcLength()

resampleByArcLength(points, closed, count): Float32Array

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

Resample a polyline to count points uniformly spaced by arc length.

Parameters

points

Float32Array

closed

boolean

count

number

Returns

Float32Array

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