MotionEvaluatorT, TDerivativeEvaluate Method (TimeInterval, Duration, Int32) |
Evaluates this evaluator at a specified fixed step over the specified interval.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public DateMotionCollection<T, TDerivative> Evaluate(
TimeInterval interval,
Duration step,
int order
)
Public Function Evaluate (
interval As TimeInterval,
step As Duration,
order As Integer
) As DateMotionCollection(Of T, TDerivative)
public:
DateMotionCollection<T, TDerivative>^ Evaluate(
TimeInterval^ interval,
Duration step,
int order
)
member Evaluate :
interval : TimeInterval *
step : Duration *
order : int -> DateMotionCollection<'T, 'TDerivative>
Parameters
- interval
- Type: AGI.Foundation.TimeTimeInterval
The interval over which to evaluate. - step
- Type: AGI.Foundation.TimeDuration
The step size with which to sample this evaluator. - order
- Type: SystemInt32
The target order to evaluate. Passing 0 evaluates the value only.
Passing 1 evaluates the value and its derivative, etc. If necessary a
result of lower or even higher order than the target may be returned.
Return Value
Type:
DateMotionCollectionT,
TDerivativeThe evaluated results.
Remarks
This method takes advantage of the ThreadingPolicy
to improve performance.
If the start date of the interval is included in the interval
(IsStartIncluded), the first date in the collection will be
the start date of the interval. If it is not included, the first date in the collection
will be step seconds later. If the stop date of the interval is
included in the interval (IsStopIncluded), the last date in the
collection will be the stop date of the interval. If it is not included, the last date
in the collection will be up to step seconds before the stop date.
If neither the start nor stop date are included, and the interval is shorter than
step, the returned collection will be empty.
See Also