| 574 | |
| 575 | |
| 576 | void LasWriter::addExtraBytesVlr() |
| 577 | { |
| 578 | if (m_extraDims.empty()) |
| 579 | return; |
| 580 | |
| 581 | std::vector<char> ebBytes; |
| 582 | for (auto& dim : m_extraDims) |
| 583 | { |
| 584 | las::ExtraBytesIf eb(dim.m_name, dim.m_dimType.m_type, |
| 585 | Dimension::description(dim.m_dimType.m_id)); |
| 586 | eb.appendTo(ebBytes); |
| 587 | } |
| 588 | |
| 589 | addVlr(las::SpecUserId, las::ExtraBytesRecordId, "Extra Bytes Record", ebBytes); |
| 590 | } |
| 591 | |
| 592 | |
| 593 | /// Add a standard or extended VLR depending on the data size. |
nothing calls this directly
no test coverage detected