cuikcollisions.c File Reference

Detailed Description

dot_inline_dotgraph_60.png

This application check collision for a list of solution boxes.

Definition in file cuikcollisions.c.

Functions

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.

Use:

  • cuikcollisions world_name.world solutions_name.sol

Where:

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

File extensions are optional.

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuikanimate command itself and its arguments).
argStrings with the arguments.
Returns
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.