Go to the documentation of this file.
58 int main( int argc, char **arg)
60 boolean wrongParameters= FALSE;
69 char *transforms[11]={ "Tx", "Ty", "Tz", "Rx", "Ry", "Rz", "Sc", "Sx", "Sy", "Sz", "Sp"};
75 while((!found)&&(i<11))
77 found=(strcasecmp(arg[2],transforms[i])==0);
82 if ((i<10)&&(argc==4))
87 Error( "Unknown transform in cuiktransform");
148 wrongParameters= TRUE;
152 fprintf(stdout, " Wrong number of parameters.\n");
153 fprintf(stdout, " Use:\n");
154 fprintf(stdout, " cuiktransform <body in> <transform> <value> <body out>\n");
155 fprintf(stdout, " Where:\n");
156 fprintf(stdout, " <body in>: File with the convex body to transform\n");
157 fprintf(stdout, " <transform>: Transform to apply (Tx,Ty,Tz,Rx,Ry,Rz,Sc,Sx,Sy,Sz,Sp)\n");
158 fprintf(stdout, " <value>: Parameter for the transform (angles in degrees!!).\n");
159 fprintf(stdout, " <body out>: Name of output file with the transformed convex body.\n");
162 return(EXIT_SUCCESS);
|
Follow us!