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

Method setPointsByReturn

io/private/las/Header.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void Header::setPointsByReturn(int returnNum, uint64_t pointCount)
156{
157 ePointsByReturn[returnNum] = pointCount;
158 if (returnNum < LegacyReturnCount)
159 {
160 bool condition = (pointCount <= (std::numeric_limits<uint32_t>::max)()) &&
161 !((versionMinor >= 4) && (pointFormat() >= 6) );
162
163 legacyPointsByReturn[returnNum] = condition ? (uint32_t)pointCount : 0;
164 }
165}
166
167} // namespace las
168} // namespace pdal

Callers 1

setSummaryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected