Skip to main content

is-really-point

function isReallyPoint(ps: number[][]): boolean

Defined in global-properties/classification/is-really-point.ts:11

Returns true if the given bezier curve has all control points coincident, false otherwise.

Parameters:

NameTypeDescription
psnumber[][]an order 0,1,2 or 3 bezier curve given as an array of its control points, e.g. [[0,0],[1,1],[2,1],[2,0]]