Function
toFlat
function toFlat(points: PointsInput): number[];
Normalises [x0, y0, x1, y1, ...] or [{x, y}, ...] into a flat number array.
Parameters#
| Parameter | Type |
|---|---|
points | PointsInput |
Returns#
number[]
function toFlat(points: PointsInput): number[];
Normalises [x0, y0, x1, y1, ...] or [{x, y}, ...] into a flat number array.
| Parameter | Type |
|---|---|
points | PointsInput |
number[]