poseDerivative

fun poseDerivative(t: Double, eps: Double = 0.01): Matrix44(source)

Computes the numerical derivative of the pose (transformation matrix) at a specified position on the path, using central difference approximation.

Return

A Matrix44 representing the derivative of the transformation matrix at the specified position.

Parameters

t

The normalized position along the path, where 0.0 corresponds to the start and 1.0 corresponds to the end.

eps

The small value used for central difference approximation, representing the step size. Defaults to 1E-6.