Evaluator<T>.Evaluate Method (JulianDate, JulianDate, Duration) |
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: 25.1.421.0 (25.1.421.0)
Syntaxpublic DateMotionCollection<T> Evaluate(
JulianDate start,
JulianDate stop,
Duration step
)
Public Function Evaluate (
start As JulianDate,
stop As JulianDate,
step As Duration
) As DateMotionCollection(Of T)
public:
DateMotionCollection<T>^ Evaluate(
JulianDate start,
JulianDate stop,
Duration step
)
member Evaluate :
start : JulianDate *
stop : JulianDate *
step : Duration -> DateMotionCollection<'T>
Parameters
- start
- Type: AGI.Foundation.Time.JulianDate
The start of the interval over which to evaluate. - stop
- Type: AGI.Foundation.Time.JulianDate
The end of the interval over which to evaluate. - step
- Type: AGI.Foundation.Time.Duration
The step size with which to sample this evaluator.
Return Value
Type:
DateMotionCollection<T>The evaluated results.
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