AccessConstraintSamplingGetNextStepFromRelativeMotionEvaluator Method (IServiceProvider, IServiceProvider, Double, EvaluatorGroup) |
Gets an evaluator that determines the next time at which to sample a constraint function
based on the relative motion between two objects and a maximum relative motion per step.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static Evaluator<JulianDate> GetNextStepFromRelativeMotionEvaluator(
IServiceProvider observer,
IServiceProvider target,
double maximumAngularMotion,
EvaluatorGroup group
)
Public Shared Function GetNextStepFromRelativeMotionEvaluator (
observer As IServiceProvider,
target As IServiceProvider,
maximumAngularMotion As Double,
group As EvaluatorGroup
) As Evaluator(Of JulianDate)
public:
static Evaluator<JulianDate>^ GetNextStepFromRelativeMotionEvaluator(
IServiceProvider^ observer,
IServiceProvider^ target,
double maximumAngularMotion,
EvaluatorGroup^ group
)
static member GetNextStepFromRelativeMotionEvaluator :
observer : IServiceProvider *
target : IServiceProvider *
maximumAngularMotion : float *
group : EvaluatorGroup -> Evaluator<JulianDate>
Parameters
- observer
- Type: SystemIServiceProvider
The object that is observing the motion of the target. - target
- Type: SystemIServiceProvider
The object whose motion is being observed. - maximumAngularMotion
- Type: SystemDouble
The maximum angular motion allowed, in radians. - group
- Type: AGI.FoundationEvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.
Return Value
Type:
EvaluatorJulianDateThe evaluator.
Exceptions Remarks
In order to determine the next sample time, this evaluator requires that the angular velocity of the
target relative to the observer be available. If it is not, the
evaluator will return the input time as the next step, indicating that a default step should be taken.
See Also