cuiktriangulateatlas.c File Reference

Detailed Description


Plots a 3d projection of an atlas generated with cuikatlas.

See Also

Definition in file cuiktriangulateatlas.c.


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

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuiktriangulateatlas application.


  • cuiktriangulateatlas problem_name cost_file xID yID zID


  • problem_name is used to load the .world and .atlas files necessary to generate the .cgl plot.
  • cost_file [Optional] A file with one cost for each one of the charts in the atlas. This is used when we want a colored atlas.
  • xID yID zID are the identifier of the variables on which to project. These are indices of system variables, numbered consecutively from 0 and without considering dummy ones.

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

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

References ATLAS_EXT, COST_EXT, CreateFileName(), CS_WD_DELETE, CS_WD_GET_SYSTEM_VARS, CS_WD_INIT, DeleteAtlas(), DeleteFileName(), DeleteParameters(), Error(), GetFileFullName(), InitParametersFromFile(), LoadAtlas(), PARAM_EXT, PLOT3D_EXT, and TriangulateAtlas().