2027 Method
Changes 1
M

CurveUV.ComputeDerivatives

Description:
Computes the first derivative, the second derivative and the unit tangent vector at the specified parameter along the curve.
public IList<UV> ComputeDerivatives(
	double parameter,
	bool normalized
)
  • Double
    parameter
    The specified parameter along the curve.
  • Boolean
    normalized
    If false, parameter is interpreted as natural parameterization of the curve. If true, param is expected to be in [0,1] interval mapped to the bounds of the curve. Setting to true is valid only if the curve is bound.
Return Value IList<UV> The array containing three members: the first derivative (at index [0]), the second derivative (at index [1]) and the unit tangent vector (at index [2]).
  • The given value for parameter is not finite
  • The curve cannot be evaluated as normalized because it is unbound. -or- The parameter is not a valid value for normalized evaluation.