Evaluate Method


Evaluates and returns the point that matches a parameter along the curve.

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

Syntax

C#
public XYZ Evaluate(
	double parameter,
	bool normalized
)
Visual Basic
Public Function Evaluate ( _
	parameter As Double, _
	normalized As Boolean _
) As XYZ
Visual C++
public:
XYZ^ Evaluate(
	double parameter, 
	bool normalized
)

Parameters

parameter
Type: SystemDouble
The parameter to be evaluated.
normalized
Type: SystemBoolean
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

The point evaluated along the curve.

Exceptions

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

See Also