cuikcollisions.c File Reference

Detailed Description


This application check collision for a list of solution boxes.

Definition in file cuikcollisions.c.


int main (int argc, char **arg)
 Main body of the cuikcollisions application. More...

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuikcollisions application.


  • cuikcollisions solutions_name.sol


  • world_name: File describing the problem.
  • solutions_name: Is the solution to test for collision.

File extensions are optional.

argcNumber of elements in the command line that starts the application (i.e., the cuikanimate command itself and its arguments).
argStrings with the arguments.
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 53 of file cuikcollisions.c.

References COST_EXT, CreateFileName(), DeleteBox(), DeleteFileName(), DeleteParameters(), DeleteWorld(), Error(), FALSE, GetBoxCenter(), GetBoxNIntervals(), GetFileFullName(), InitParametersFromFile(), InitWorldCD(), InitWorldFromFile(), MoveAndCheckCD(), NEW, PARAM_EXT, ReadBox(), RegenerateWorldSolutionPoint(), SOL_EXT, and WORLD_EXT.