| 336 | |
| 337 | |
| 338 | void check_pN(const PointView& data, PointId index, double xref, double yref, double zref) |
| 339 | { |
| 340 | float x0 = data.getFieldAs<float>(Dimension::Id::X, index); |
| 341 | float y0 = data.getFieldAs<float>(Dimension::Id::Y, index); |
| 342 | float z0 = data.getFieldAs<float>(Dimension::Id::Z, index); |
| 343 | |
| 344 | EXPECT_FLOAT_EQ(x0, static_cast<float>(xref)); |
| 345 | EXPECT_FLOAT_EQ(y0, static_cast<float>(yref)); |
| 346 | EXPECT_FLOAT_EQ(z0, static_cast<float>(zref)); |
| 347 | } |
| 348 | |
| 349 | |
| 350 | void check_pN(const PointView& data, PointId index, double xref, double yref, double zref, |