parametisedCoordinateList

Refines a run of coordinate pairs such as (1, 2), (t, t^2), each half a number or an expression in parameters, into a coordinate list.

@internote/canvas-sdkFunction
On this page
import { parametisedCoordinateList } from '@internote/canvas-sdk';

The refined value is { coordinates, count }, each coordinate an x and a y that is a number or a refined expression. A coordinate written with three entries, (1, 2, 3), carries a z as well — a point in space — and which planes take one is the environment's to say. Register it for a value type of your own that takes points.

#Signature

(input: string): RefineResult

#Parameters

input
The value as written.

Declared in packages/canvas-sdk/src/refine/value-refiners.ts:396.

Last updated