EvaluatorGroupParameterizeTResult, TResultDerivative Method (MotionEvaluatorTResult, TResultDerivative, ParameterAction) |
Parameterizes an evaluator with zero parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedMotionEvaluatorWithDerivativeType<TResult, TResultDerivative> Parameterize<TResult, TResultDerivative>(
MotionEvaluator<TResult, TResultDerivative> evaluatorToParameterize,
ParameterAction parameterAction
)
Public Function Parameterize(Of TResult, TResultDerivative) (
evaluatorToParameterize As MotionEvaluator(Of TResult, TResultDerivative),
parameterAction As ParameterAction
) As ParameterizedMotionEvaluatorWithDerivativeType(Of TResult, TResultDerivative)
public:
generic<typename TResult, typename TResultDerivative>
ParameterizedMotionEvaluatorWithDerivativeType<TResult, TResultDerivative>^ Parameterize(
MotionEvaluator<TResult, TResultDerivative>^ evaluatorToParameterize,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : MotionEvaluator<'TResult, 'TResultDerivative> *
parameterAction : ParameterAction -> ParameterizedMotionEvaluatorWithDerivativeType<'TResult, 'TResultDerivative>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationMotionEvaluatorTResult, TResultDerivative
The evaluator to parameterize. - 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
- TResult
- The type of the result of evaluating the evaluator.
- TResultDerivative
- The type of the derivatives.
Return Value
Type:
ParameterizedMotionEvaluatorWithDerivativeTypeTResult,
TResultDerivativeAn evaluator that can be evaluated with the given parameters.
Exceptions See Also