function args = getCodegenArguments(fcnName)
%This function is for internal use only. It may be removed in the future.

%GETCODEGENARGUMENTS Get code generation arguments for a given function
%   ARGS = getCodegenArguments(FCNNAME) returns a cell array with size and
%   type information for inputs to a function FCNNAME. The output ARGS is
%   used as a value of the codegen name-value pair 'args'.
%   This function is invoked by the create_* functions that build
%   customer-facing MEX files for internal functionality.

%   Copyright 2019-2020 The MathWorks, Inc.
    
    switch fcnName
      case 'optimizeMidAltitude'          
        args = {...
            coder.typeof(0, [1 3], [0 0]), ...                      % startPoseDubins2D
            coder.typeof(0, [1 3], [0 0]), ...                      % goalPoseDubins2D
            coder.typeof(0, 1, 0), ...                              % theta
            coder.typeof(0, 1, 0), ...                              % optStartCurve
            coder.typeof(0, 1, 0), ...                              % maxFlightPathAngle
            coder.typeof(0, 1, 0), ...                              % absAltitude
            coder.typeof(0, 1, 0), ...                              % minTurningRadius
            coder.typeof(0, 1, 0), ...                              % errorTolerance
               };
      otherwise
        assert(false, ['Switch option ' fcnName ' not recognized.']);
    end    
end
