Intermact API Reference / @intermact/core / toSampledContour
Function: toSampledContour()
toSampledContour(
points,closed):SampledContour2D
Defined in: packages/core/src/geometry/sampling.ts:136
Build a SampledContour2D (with cumulative lengths) from a points buffer.
Parameters
points
Float32Array
closed
boolean