Curve.ComputeDerivatives Method

Returns the vectors describing the curve at the specified parameter.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public Transform ComputeDerivatives(
	double parameter,
	bool normalized
)

Parameters

parameter  Double
The parameter to be evaluated.
normalized  Boolean
If false, param 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

Transform
The transformation containing the point on the curve, the tangent vector, derivative of tangent vector, and bi-normal vector.

Exceptions

ExceptionCondition
ArgumentException The given value for parameter is not finite
ArgumentOutOfRangeException The curve cannot be evaluated as normalized because it is unbound. -or- The parameter is not a valid value for normalized evaluation.

Remarks

The following is the meaning of the transformation members: None of the vectors are normalized.

See Also

Reference

Curve Class
Autodesk.Revit.DB Namespace