| 497 | |
| 498 | |
| 499 | void CopcReader::validateHeader(const las::Header& h) |
| 500 | { |
| 501 | if (h.magic != "LASF") |
| 502 | throwError("Invalid LAS header in COPC file"); |
| 503 | int pdrf = h.pointFormat(); |
| 504 | if (pdrf < 6 || pdrf > 8) |
| 505 | throwError("COPC file has invalid point format '" + std::to_string(pdrf) + |
| 506 | "'. Must be 6-8."); |
| 507 | } |
| 508 | |
| 509 | |
| 510 | void CopcReader::validateVlrInfo(const las::Vlr& v, const copc::Info& i) |
nothing calls this directly
no test coverage detected