tangent-at-1-exact
function tangentAt1Exact(ps: number[][]): number[][]
Defined in local-properties-at-t/tangent/exact/tangent-at-1-exact.ts:17
Returns the exact tangent vector (not necessarily of unit length) of an
order 0,1,2 or 3 bezier curve at t === 1
, i.e.
returns the exact result ([x,y]
) of evaluating the derivative of a linear,
quadratic or cubic bezier curve's power basis at t === 1
.
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | an order 0,1,2 or 3 bezier, e.g. [[0,0],[1,1],[2,1],[2,0]] |