MCPcopy Create free account
hub / github.com/LAStools/LAStools / close

Method close

LASlib/src/lasreader_dtm.cpp:1354–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354void LASreaderDTM::close(BOOL close_stream)
1355{
1356 if (overflow_I32_x)
1357 {
1358 LASMessage(LAS_WARNING, "total of %lld integer overflows in x", overflow_I32_x);
1359 overflow_I32_x = 0;
1360 }
1361 if (overflow_I32_y)
1362 {
1363 LASMessage(LAS_WARNING, "total of %lld integer overflows in y", overflow_I32_y);
1364 overflow_I32_y = 0;
1365 }
1366 if (overflow_I32_z)
1367 {
1368 LASMessage(LAS_WARNING, "total of %lld integer overflows in z", overflow_I32_z);
1369 overflow_I32_z = 0;
1370 }
1371 if (file)
1372 {
1373 fclose(file);
1374 file = 0;
1375 }
1376}
1377
1378BOOL LASreaderDTM::reopen(const CHAR* file_name)
1379{

Callers

nothing calls this directly

Calls 1

LASMessageFunction · 0.85

Tested by

no test coverage detected