Skip to main content

dd-tangent-at-1

function ddTangentAt1(ps: number[][]): number[][]

Defined in local-properties-at-t/tangent/double-double/dd-tangent-at-1.ts:19

Returns the tangent vector (not necessarily of unit length) of an order 0,1,2 or 3 bezier curve at t === 1, i.e. Returns the result, [x,y], of evaluating the derivative of a linear, quadratic or cubic bezier curve's power basis at t === 1.

  • exact result for order <= 2 bezier curves

Parameters:

NameTypeDescription
psnumber[][]An order 1,2 or 3 bezier, e.g. [[0,0],[1,1],[2,1],[2,0]]