code: public void addDirection(double extrp, Direction direction)
      {
          addDirection(extrp, direction.getDirectionHorizontal(), direction.getDirectionVertical());
      }
docs: Increase direction with input value.
  
  @param extrp The extrapolation value.
  @param direction The direction to add.