cuiksingularcharts.c File Reference

Detailed Description

dot_inline_dotgraph_27.png

Extracts the centers of the singular charts in the atlas and stores them in a file in the form of boxes (sols).

See Also
cuikatlas.c

Definition in file cuiksingularcharts.c.

Functions

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

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuiksingularcharts application.

Use:

  • cuiksingularcharts problem_name.world [dummies] [inside] [middle]

where

  • problem_name is used to load .atlas file from where to extract the centres.
  • [dummies] optional. If 1, output has to include de dummies. This is necessary only if you plan to unsimplify the output points (default is 0).

The problem_name is without extension (if given it is removed).

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuiksingularcharts 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 66 of file cuiksingularcharts.c.

References ATLAS_EXT, CreateFileName(), CS_WD_DELETE, CS_WD_EXT, CS_WD_INIT, DeleteAtlas(), DeleteFileName(), DeleteParameters(), FALSE, GetFileFullName(), InitParametersFromFile(), LoadAtlas(), PARAM_EXT, and SaveSingularCharts().