9 int main(int argc
,char **argv
) {
14 // Check the command line syntax
16 fprintf(stderr
,"Syntax: ./images bx bxy by bxz byz bz\n");
17 return VOROPP_CMD_LINE_ERROR
;
20 // Create the unit cell
21 unitcell
uc(atof(argv
[1]),atof(argv
[2]),atof(argv
[3]),atof(argv
[4]),atof(argv
[5]),atof(argv
[6]));
23 // Calculate the images
27 for(i
=j
=0;i
<vd
.size();i
++,j
+=3) printf("%d %d %d %g\n",vi
[j
],vi
[j
+1],vi
[j
+2],vd
[i
]);