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

Method close

LASlib/src/lasreader_asc.cpp:493–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493void LASreaderASC::close(BOOL close_stream)
494{
495 if (overflow_I32_x)
496 {
497 LASMessage(LAS_WARNING, "total of %lld integer overflows in x", overflow_I32_x);
498 overflow_I32_x = 0;
499 }
500 if (overflow_I32_y)
501 {
502 LASMessage(LAS_WARNING, "total of %lld integer overflows in y", overflow_I32_y);
503 overflow_I32_y = 0;
504 }
505 if (overflow_I32_z)
506 {
507 LASMessage(LAS_WARNING, "total of %lld integer overflows in z", overflow_I32_z);
508 overflow_I32_z = 0;
509 }
510 if (file)
511 {
512 if (piped) while (fgets(line, line_size, file));
513 fclose(file);
514 file = 0;
515 }
516}
517
518BOOL LASreaderASC::reopen(const CHAR* file_name)
519{

Callers

nothing calls this directly

Calls 1

LASMessageFunction · 0.85

Tested by

no test coverage detected