| | |
| | | |
| | | |
| | | |
| | | fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">\n"); |
| | | fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">"); |
| | | offset=0; |
| | | for(i=0;i<vlist->n;i++,offset+=3){ |
| | | //fprintf(fh,"%.17e %.17e %.17e\n",vtx[i]->x,vtx[i]->y, vtx[i]->z); |
| | |
| | | printout=ts_compress((char *)int_vector,offset*sizeof(long)); |
| | | fprintf(fh,"%s",printout); |
| | | free(printout); |
| | | fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">\n"); |
| | | fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">"); |
| | | free(int_vector); |
| | | free(float_vector); |
| | | free(float_cell_vector); |