| 239 | } |
| 240 | |
| 241 | point_count_t numPoints(const e57::VectorNode data3D) |
| 242 | { |
| 243 | point_count_t count(0); |
| 244 | int64_t scanCount = data3D.childCount(); |
| 245 | try |
| 246 | { |
| 247 | for (int scanIndex = 0; scanIndex < scanCount; scanIndex++) |
| 248 | { |
| 249 | e57::StructureNode scan(data3D.get(scanIndex)); |
| 250 | e57::CompressedVectorNode points(scan.get("points")); |
| 251 | count += points.childCount(); |
| 252 | } |
| 253 | } |
| 254 | catch (e57::E57Exception& e) |
| 255 | { |
| 256 | e.report(__FILE__, __LINE__, __FUNCTION__); |
| 257 | } |
| 258 | catch (...) |
| 259 | { |
| 260 | throw pdal_error("Got an unknown exception"); |
| 261 | } |
| 262 | return count; |
| 263 | } |
| 264 | |
| 265 | void Dim::grow(double val) |
| 266 | { |
no test coverage detected