| 144 | } |
| 145 | |
| 146 | void Header::setPointCount(uint64_t pointCount) |
| 147 | { |
| 148 | ePointCount = pointCount; |
| 149 | bool condition = (ePointCount <= (std::numeric_limits<uint32_t>::max)()) && |
| 150 | !((versionMinor >= 4) && (pointFormat() >= 6) ); |
| 151 | legacyPointCount = |
| 152 | condition ? (uint32_t)ePointCount : 0; |
| 153 | } |
| 154 | |
| 155 | void Header::setPointsByReturn(int returnNum, uint64_t pointCount) |
| 156 | { |