| 553 | } |
| 554 | |
| 555 | I64 LASwriterTXT::close(BOOL update_header) |
| 556 | { |
| 557 | I64 bytes = ftell_las(file); |
| 558 | |
| 559 | if (file) |
| 560 | { |
| 561 | if (close_file) |
| 562 | { |
| 563 | fclose(file); |
| 564 | close_file = FALSE; |
| 565 | } |
| 566 | file = 0; |
| 567 | } |
| 568 | if (parse_string) |
| 569 | { |
| 570 | free(parse_string); |
| 571 | parse_string = 0; |
| 572 | } |
| 573 | |
| 574 | npoints = p_count; |
| 575 | p_count = 0; |
| 576 | |
| 577 | return bytes; |
| 578 | } |
| 579 | |
| 580 | LASwriterTXT::LASwriterTXT() |
| 581 | { |
nothing calls this directly
no test coverage detected