EvaluatorGroupParameterizeTParameter1, TParameter2, TResult, TResultDerivative Method (MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction) |
Parameterizes an evaluator with two parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedMotionEvaluatorWithDerivativeType2<TParameter1, TParameter2, TResult, TResultDerivative> Parameterize<TParameter1, TParameter2, TResult, TResultDerivative>(
MotionEvaluator<TResult, TResultDerivative> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
IEvaluatorParameter<TParameter2> parameter2,
ParameterAction parameterAction
)
Public Function Parameterize(Of TParameter1, TParameter2, TResult, TResultDerivative) (
evaluatorToParameterize As MotionEvaluator(Of TResult, TResultDerivative),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameter2 As IEvaluatorParameter(Of TParameter2),
parameterAction As ParameterAction
) As ParameterizedMotionEvaluatorWithDerivativeType2(Of TParameter1, TParameter2, TResult, TResultDerivative)
public:
generic<typename TParameter1, typename TParameter2, typename TResult, typename TResultDerivative>
ParameterizedMotionEvaluatorWithDerivativeType2<TParameter1, TParameter2, TResult, TResultDerivative>^ Parameterize(
MotionEvaluator<TResult, TResultDerivative>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
IEvaluatorParameter<TParameter2>^ parameter2,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : MotionEvaluator<'TResult, 'TResultDerivative> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameter2 : IEvaluatorParameter<'TParameter2> *
parameterAction : ParameterAction -> ParameterizedMotionEvaluatorWithDerivativeType2<'TParameter1, 'TParameter2, 'TResult, 'TResultDerivative>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationMotionEvaluatorTResult, TResultDerivative
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The value of the first parameter. - parameter2
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The value of the second parameter. - parameterAction
- Type: AGI.Foundation.InfrastructureParameterAction
Indicates whether an exception should be thrown if any of the specified parameters are not actually
parameters to the evaluatorToParameterize.
Type Parameters
- TParameter1
- The type of the first parameter.
- TParameter2
- The type of the second parameter.
- TResult
- The type of the result of evaluating the evaluator.
- TResultDerivative
- The type of the derivatives.
Return Value
Type:
ParameterizedMotionEvaluatorWithDerivativeType2TParameter1,
TParameter2,
TResult,
TResultDerivativeAn evaluator that can be evaluated with the given parameters.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when evaluatorToParameterize, parameter1, or parameter2 is .
|
See Also