Click or drag to resize

EvaluatorGroup.Parameterize<TParameter1, TResult, TResultDerivative> Method (MotionEvaluator<TResult, TResultDerivative>, IEvaluatorParameter<TParameter1>)

Parameterizes an evaluator with one parameter.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public ParameterizedMotionEvaluatorWithDerivativeType1<TParameter1, TResult, TResultDerivative> Parameterize<TParameter1, TResult, TResultDerivative>(
	MotionEvaluator<TResult, TResultDerivative> evaluatorToParameterize,
	IEvaluatorParameter<TParameter1> parameter1
)

Parameters

evaluatorToParameterize
Type: AGI.Foundation.MotionEvaluator<TResult, TResultDerivative>
The evaluator to parameterize.
parameter1
Type: AGI.Foundation.Infrastructure.IEvaluatorParameter<TParameter1>
The first parameter.

Type Parameters

TParameter1
The type of the first parameter.
TResult
The type of the result of evaluating the evaluator.
TResultDerivative
The type of the derivatives.

Return Value

Type: ParameterizedMotionEvaluatorWithDerivativeType1<TParameter1, TResult, TResultDerivative>
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize or parameter1 is null.
See Also