MotionEvaluatorT, TDerivativeEvaluate Method (JulianDate, JulianDate, Duration, Int32, ITrackCalculationProgress) |
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(
JulianDate start,
JulianDate stop,
Duration step,
int order,
ITrackCalculationProgress tracker
)
Public Function Evaluate (
start As JulianDate,
stop As JulianDate,
step As Duration,
order As Integer,
tracker As ITrackCalculationProgress
) As DateMotionCollection(Of T, TDerivative)
public:
DateMotionCollection<T, TDerivative>^ Evaluate(
JulianDate start,
JulianDate stop,
Duration step,
int order,
ITrackCalculationProgress^ tracker
)
member Evaluate :
start : JulianDate *
stop : JulianDate *
step : Duration *
order : int *
tracker : ITrackCalculationProgress -> DateMotionCollection<'T, 'TDerivative>
Parameters
- start
- Type: AGI.Foundation.TimeJulianDate
The start of the interval over which to evaluate. - stop
- Type: AGI.Foundation.TimeJulianDate
The end of 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.
- tracker
- Type: AGI.FoundationITrackCalculationProgress
The object to which progress is reported and that is able to cancel this operation before it is complete, or .
Return Value
Type:
DateMotionCollectionT,
TDerivativeThe evaluated results, or
if the evaluation was canceled.
Remarks
This method takes advantage of the ThreadingPolicy
to improve performance.
The first date in the returned collection will be start. The last date
in the collection will be stop, so the difference between the
second-to-last date and the last date may be less than step.
Also, these dates will always be present in the returned collection even if the duration
between them is less than step.
See Also