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

Method setType

io/private/las/Utils.cpp:229–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227
228
229void ExtraBytesIf::setType(uint8_t lastype)
230{
231 m_fieldCnt = 1;
232 while (lastype > 10)
233 {
234 m_fieldCnt++;
235 lastype -= 10;
236 }
237
238 m_type = lastypes[lastype];
239 if (m_type == Dimension::Type::None)
240 m_fieldCnt = 0;
241}
242
243
244void ExtraBytesIf::appendTo(std::vector<char>& ebBytes)

Callers 1

registerFixedDimMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected