NurbsCurve.tangent_at

NurbsCurve.tangent_at(t)[source]

Compute the tangent vector of the curve at a parameter.

Parameters

t (float) – The value of the curve parameter.

Returns

compas.geometry.Vector – The corresponding tangent vector.

Raises

ValueError – If the parameter is not in the curve domain.