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