| 813 | } |
| 814 | |
| 815 | void 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 | |
| 839 | BOOL LASreaderBIL::reopen(const CHAR* file_name) |
| 840 | { |
nothing calls this directly
no test coverage detected