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

Method close

LASlib/src/lasreader_bil.cpp:815–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815void LASreaderBIL::close(BOOL close_stream)
816{
817 if (overflow_I32_x)
818 {
819 LASMessage(LAS_WARNING, "total of %lld integer overflows in x", overflow_I32_x);
820 overflow_I32_x = 0;
821 }
822 if (overflow_I32_y)
823 {
824 LASMessage(LAS_WARNING, "total of %lld integer overflows in y", overflow_I32_y);
825 overflow_I32_y = 0;
826 }
827 if (overflow_I32_z)
828 {
829 LASMessage(LAS_WARNING, "total of %lld integer overflows in z", overflow_I32_z);
830 overflow_I32_z = 0;
831 }
832 if (file)
833 {
834 fclose(file);
835 file = 0;
836 }
837}
838
839BOOL LASreaderBIL::reopen(const CHAR* file_name)
840{

Callers

nothing calls this directly

Calls 1

LASMessageFunction · 0.85

Tested by

no test coverage detected