getDerivative

public Vector getDerivative(double t)

This returns the derivative on the BezierCurve that is specified by the parametric t value. This is returned as a Vector, and this Vector is the tangent to the BezierCurve.

Return

this returns the derivative requested.

Parameters

t

this is the t value of the parametric curve. t is clamped to be between 0 and 1 inclusive.