X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FVoxel%2FVoxel_Reader.cxx;h=326843d20f9e0773aa5a6cae0a18db4ed91270db;hp=a6749ed1de6b163afcd11954aefea2d56581376c;hb=91322f44fd202e671046b9ce1ba393a02dbaf756;hpb=3bea4c165c9ddf99b515731d51f2db29d8353c2e diff --git a/src/Voxel/Voxel_Reader.cxx b/src/Voxel/Voxel_Reader.cxx index a6749ed1de..326843d20f 100755 --- a/src/Voxel/Voxel_Reader.cxx +++ b/src/Voxel/Voxel_Reader.cxx @@ -161,13 +161,13 @@ Standard_Boolean Voxel_Reader::ReadBoolAsciiVoxels(const TCollection_ExtendedStr fclose(f); return Standard_False; } - x = atof(sx); y = atof(sy); z = atof(sz); + x = Atof(sx); y = Atof(sy); z = Atof(sz); if (fscanf(f, "%s %s %s\n", sx, sy, sz) != 3) { fclose(f); return Standard_False; } - xlen = atof(sx); ylen = atof(sy); zlen = atof(sz); + xlen = Atof(sx); ylen = Atof(sy); zlen = Atof(sz); if (fscanf(f, "%d %d %d\n", &nbx, &nby, &nbz) != 3) { fclose(f); @@ -238,13 +238,13 @@ Standard_Boolean Voxel_Reader::ReadColorAsciiVoxels(const TCollection_ExtendedSt fclose(f); return Standard_False; } - x = atof(sx); y = atof(sy); z = atof(sz); + x = Atof(sx); y = Atof(sy); z = Atof(sz); if (fscanf(f, "%s %s %s\n", sx, sy, sz) != 3) { fclose(f); return Standard_False; } - xlen = atof(sx); ylen = atof(sy); zlen = atof(sz); + xlen = Atof(sx); ylen = Atof(sy); zlen = Atof(sz); if (fscanf(f, "%d %d %d\n", &nbx, &nby, &nbz) != 3) { fclose(f); @@ -315,13 +315,13 @@ Standard_Boolean Voxel_Reader::ReadFloatAsciiVoxels(const TCollection_ExtendedSt fclose(f); return Standard_False; } - x = atof(sx); y = atof(sy); z = atof(sz); + x = Atof(sx); y = Atof(sy); z = Atof(sz); if (fscanf(f, "%s %s %s\n", sx, sy, sz) != 3) { fclose(f); return Standard_False; } - xlen = atof(sx); ylen = atof(sy); zlen = atof(sz); + xlen = Atof(sx); ylen = Atof(sy); zlen = Atof(sz); if (fscanf(f, "%d %d %d\n", &nbx, &nby, &nbz) != 3) { fclose(f); @@ -359,7 +359,7 @@ Standard_Boolean Voxel_Reader::ReadFloatAsciiVoxels(const TCollection_ExtendedSt return Standard_False; } } - value = atof(line); + value = Atof(line); // Set value if (!((Standard_ShortReal**)((Voxel_DS*)myFloatVoxels)->myData)[i1])