MCPcopy Create free account
hub / github.com/PDAL/PDAL / addVlr

Method addVlr

io/LasWriter.cpp:598–604  ·  view source on GitHub ↗

Add a standard or extended VLR depending on the data size. \param userId - VLR user ID \param recordId - VLR record ID \param description - VLR description \param data - Raw VLR data

Source from the content-addressed store, hash-verified

596/// \param description - VLR description
597/// \param data - Raw VLR data
598void LasWriter::addVlr(const std::string& userId, uint16_t recordId,
599 const std::string& description, const std::vector<uint8_t>& data)
600{
601 std::vector<char> v((const char *)data.data(), (const char *)(data.data() + data.size()));
602 las::Evlr vlr(userId, recordId, description, std::move(v));
603 addVlr(vlr);
604}
605
606/// Add a standard or variable-length VLR depending on the data size.
607/// \param userId - VLR user ID

Callers

nothing calls this directly

Calls 4

dataSizeMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45
versionAtLeastMethod · 0.45

Tested by

no test coverage detected