示例#1
0
 public static Polynomial GetPolynomialMovementEquation(InitialMovementParameters movementParameters)
 {
     return(GetPolynomialMovementEquation(movementParameters.A0,
                                          movementParameters.V0,
                                          movementParameters.D0,
                                          movementParameters.T0));
 }
示例#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);
        }
示例#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);
 }
示例#4
0
 public void UpdateYEquations(Interval timeInterval, InitialMovementParameters updatedEquation)
 {
     UpdateEquations(_yEquations, timeInterval, updatedEquation);
 }