Beispiel #1
0
 public static Polynomial GetPolynomialMovementEquation(InitialMovementParameters movementParameters)
 {
     return(GetPolynomialMovementEquation(movementParameters.A0,
                                          movementParameters.V0,
                                          movementParameters.D0,
                                          movementParameters.T0));
 }
Beispiel #2
0
        private void UpdateEquations(IntervalIndexer <Polynomial> equations,
                                     Interval timeInterval,
                                     InitialMovementParameters updatedEquation)
        {
            var pol = GetPolynomialMovementEquation(
                updatedEquation.A0,
                updatedEquation.V0,
                updatedEquation.D0,
                updatedEquation.T0);


            equations.AddInterval(
                (timeInterval.LowerEndpoint, timeInterval.UpperEndpoint),
                pol);
        }
Beispiel #3
0
 public MovementEquation(InitialMovementParameters x, InitialMovementParameters y)
 {
     _xEquations = new IntervalIndexer <Polynomial>();
     UpdateXEquations(new Interval()
     {
         LowerEndpoint = Endpoints.Unbounded,
         UpperEndpoint = Endpoints.Unbounded
     }, x);
     _yEquations = new IntervalIndexer <Polynomial>();
     UpdateYEquations(new Interval()
     {
         LowerEndpoint = Endpoints.Unbounded,
         UpperEndpoint = Endpoints.Unbounded
     }, y);
 }
Beispiel #4
0
 public void UpdateYEquations(Interval timeInterval, InitialMovementParameters updatedEquation)
 {
     UpdateEquations(_yEquations, timeInterval, updatedEquation);
 }