| 92 | } |
| 93 | |
| 94 | void checkPoint( |
| 95 | const PointViewPtr view, |
| 96 | const PointId index, |
| 97 | const double X, |
| 98 | const double Y, |
| 99 | const double Z, |
| 100 | const uint16_t Red, |
| 101 | const uint16_t Green, |
| 102 | const uint16_t Blue, |
| 103 | const uint32_t PointId, |
| 104 | const uint16_t Intensity, |
| 105 | const double InternalTime, |
| 106 | const uint8_t ReturnNumber, |
| 107 | const uint8_t NumberOfReturns, |
| 108 | const uint8_t Classification, |
| 109 | const uint32_t OriginId, |
| 110 | const float ScanAngleRank, |
| 111 | const uint8_t ScanDirectionFlag |
| 112 | ) |
| 113 | { |
| 114 | using namespace Dimension; |
| 115 | checkDimension(view, index, Id::X, X, 0.00025); |
| 116 | checkDimension(view, index, Id::Y, Y, 0.00025); |
| 117 | checkDimension(view, index, Id::Z, Z, 0.00025); |
| 118 | checkDimension(view, index, Id::Red, Red, 0); |
| 119 | checkDimension(view, index, Id::Green, Green, 0); |
| 120 | checkDimension(view, index, Id::Blue, Blue, 0); |
| 121 | checkDimension(view, index, Id::PointId, PointId, 0); |
| 122 | checkDimension(view, index, Id::Intensity, Intensity, 0); |
| 123 | checkDimension(view, index, Id::InternalTime, InternalTime, 1e-7); |
| 124 | checkDimension(view, index, Id::ReturnNumber, ReturnNumber, 0); |
| 125 | checkDimension(view, index, Id::NumberOfReturns, NumberOfReturns, 0); |
| 126 | checkDimension(view, index, Id::Classification, Classification, 0); |
| 127 | checkDimension(view, index, Id::OriginId, OriginId, 0); |
| 128 | checkDimension(view, index, Id::ScanAngleRank, ScanAngleRank, 0.006); |
| 129 | checkDimension(view, index, Id::ScanDirectionFlag, ScanDirectionFlag, 0); |
| 130 | } |
| 131 | |
| 132 | } // anonymous namespace |
| 133 |
no test coverage detected