Skip to content

Intermact API Reference / @intermact/core / toSampledPolyline3D

Function: toSampledPolyline3D()

toSampledPolyline3D(points, closed): SampledPolyline3D

Defined in: packages/core/src/geometry/provider3d.ts:48

Build a SampledPolyline3D (with cumulative lengths) from a buffer.

Parameters

points

Float32Array

closed

boolean

Returns

SampledPolyline3D

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