RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Curve

Curve.Evaluate

Method
Description:
Evaluates and returns the point that matches a parameter along the curve.
Syntax
public XYZ Evaluate(
	double parameter,
	bool normalized
)
Parameters
Parameter Type Description
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
Type Description
XYZ The point evaluated along the curve.
Exceptions
Exception Condition
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.