Go to the documentation of this file.
69 int main( int argc, char **arg)
75 unsigned int nx,ny,nz;
76 unsigned int xID,yID,zID;
78 unsigned int i,s,nv,nvs;
92 fprintf(stderr, "Reading parameters from : %s\n", GetFileFullName(&fparam));
100 LoadAtlas(¶meters,&fatlas,&world,&atlas);
108 Error( "Can not open the cost file");
129 if (nx==nvs) {xID=i; s++;}
130 if (ny==nvs) {yID=i; s++;}
131 if (nz==nvs) {zID=i; s++;}
137 Error( "Projection dimensions are beyond the ambient space dimensionality");
140 fprintf(stderr, "Generating triangulation to : %s\n", GetFileFullName(&fplot));
161 fprintf(stderr, " Wrong number of parameters.\n");
162 fprintf(stderr, " Use:\n");
163 fprintf(stderr, " cuiktriangulateatlas <problem filename> <cost file> <xID> <yID> <zID>\n");
164 fprintf(stderr, " where <problem filename> is the atlas to plot.\n");
165 fprintf(stderr, " <cost file> [optional] file with associated costs for each chart.\n");
166 fprintf(stderr, " <xID> <yID> <zID> are the 3 projection dimensions.\n");
167 fprintf(stderr, " (indices of system variables numbered from 0)\n");
170 return(EXIT_SUCCESS);
|
Follow us!