Skip to main content

eval-de-casteljau-with-err-dd

function evalDeCasteljauWithErrDd(ps: number[][], t: number[]): object

Defined in local-properties-at-t/evaluate/double-double/eval-de-casteljau-with-err-dd.ts:30

Returns the resulting point (in double-double precision) of evaluating the given bezier curve at the given parameter t (including a coordinate-wise error bound).

The resulting point is returned as { p: number[][], pE: number[] }, where p is the point [x,y] (with x and y in double-double precision) and pE is the corresponding coordinate-wise absolute error bound of the calculation.

Note!
Green circles are draggable!
0

Parameters:

NameTypeDescription
psnumber[][]an order 1,2 or 3 bezier curve, e.g. [[0,0],[1,1],[2,1],[2,0]]
tnumber[]the parameter value where the bezier should be evaluated

Returns: object

NameType
pnumber[][]
pEnumber[]