1. override
double x(double time)

The position of the object in the simulation at the given time.

Source

@override
double x(double time) {
  _stepIfNecessary(time);
  return currentSimulation.x(time - currentIntervalOffset);
}