evaluate-exact
function evaluateExact(ps: number[][], t: number): number[][]
Defined in local-properties-at-t/evaluate/exact/evaluate-exact.ts:18
Returns the exact resulting point of evaluating the given bezier curve at
the given t
parameter.
- the result is returned as
[x,y]
, wherex
andy
are Shewchuk floating point expansions
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | an order 0,1,2 or 3 bezier curve given as an ordered array of its control point coordinates, e.g. [[0,0], [1,1], [2,1], [2,0]] |
t | number |