/dports/math/pdal/PDAL-2.3.0/test/unit/filters/ |
H A D | CovarianceFeaturesTest.cpp | 79 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Linearity, i) ,1); in TEST() 80 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Verticality, i) ,1); in TEST() 81 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Planarity, i) ,0); in TEST() 82 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Scattering, i) ,0); in TEST() 84 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Anisotropy, i), 1); in TEST() 129 ASSERT_LE(outView->getFieldAs<float>(Id::Linearity, i) ,0.5); in TEST() 131 ASSERT_FLOAT_EQ(outView->getFieldAs<float>(Id::Planarity, i) ,1); in TEST() 179 ASSERT_LE(outView->getFieldAs<float>(Id::Linearity, i) ,0.5); in TEST() 180 ASSERT_GE(outView->getFieldAs<float>(Id::Verticality, i) ,0.5); in TEST() 181 ASSERT_LE(outView->getFieldAs<float>(Id::Planarity, i) ,1); in TEST() [all …]
|
H A D | RangeFilterTest.cpp | 90 EXPECT_DOUBLE_EQ(4.0, view->getFieldAs<double>(Dimension::Id::Z, 0)); in TEST() 91 EXPECT_DOUBLE_EQ(5.0, view->getFieldAs<double>(Dimension::Id::Z, 1)); in TEST() 92 EXPECT_DOUBLE_EQ(6.0, view->getFieldAs<double>(Dimension::Id::Z, 2)); in TEST() 122 EXPECT_DOUBLE_EQ(4.0, view->getFieldAs<double>(Dimension::Id::Y, 0)); in TEST() 123 EXPECT_DOUBLE_EQ(5.0, view->getFieldAs<double>(Dimension::Id::Y, 1)); in TEST() 355 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::X, 0), 3); in TEST() 356 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::X, 1), 4); in TEST() 357 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::X, 2), 5); in TEST() 358 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::X, 3), 8); in TEST() 359 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::X, 4), 9); in TEST() [all …]
|
H A D | MortonOrderTest.cpp | 93 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::X, 0), 0); in TEST() 94 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::Y, 0), 0); in TEST() 97 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::X, 1), 0); in TEST() 98 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::Y, 1), 3); in TEST() 101 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::X, 2), 3); in TEST() 102 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::Y, 2), 0); in TEST() 105 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::X, 3), 3); in TEST() 106 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::Y, 3), 3); in TEST() 109 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::X, 4), 0); in TEST() 110 EXPECT_EQ(outView->getFieldAs<double>(Dimension::Id::Y, 4), 2); in TEST() [all …]
|
H A D | ReprojectionFilterTest.cpp | 52 x = data.getFieldAs<double>(Dimension::Id::X, 0); in getPoint() 53 y = data.getFieldAs<double>(Dimension::Id::Y, 0); in getPoint() 54 z = data.getFieldAs<double>(Dimension::Id::Z, 0); in getPoint() 202 EXPECT_EQ(v1->getFieldAs<double>(Dimension::Id::X, idx), in TEST() 203 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 204 EXPECT_EQ(v1->getFieldAs<double>(Dimension::Id::Y, idx), in TEST() 205 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() 207 point.getFieldAs<double>(Dimension::Id::Z)); in TEST() 213 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 215 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() [all …]
|
H A D | ProjPipelineFilterTest.cpp | 52 x = data.getFieldAs<double>(Dimension::Id::X, 0); in getPoint() 53 y = data.getFieldAs<double>(Dimension::Id::Y, 0); in getPoint() 54 z = data.getFieldAs<double>(Dimension::Id::Z, 0); in getPoint() 242 EXPECT_EQ(v1->getFieldAs<double>(Dimension::Id::X, idx), in TEST() 243 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 244 EXPECT_EQ(v1->getFieldAs<double>(Dimension::Id::Y, idx), in TEST() 245 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() 247 point.getFieldAs<double>(Dimension::Id::Z)); in TEST() 253 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 255 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() [all …]
|
H A D | NormalFilterTest.cpp | 77 ASSERT_FLOAT_EQ(p.getFieldAs<float>(nx), 0.0); in TEST() 78 ASSERT_FLOAT_EQ(p.getFieldAs<float>(ny), 0.0); in TEST() 79 ASSERT_FLOAT_EQ(p.getFieldAs<float>(nz), 1.0); in TEST() 80 ASSERT_FLOAT_EQ(p.getFieldAs<float>(c), 0.0); in TEST() 114 ASSERT_FLOAT_EQ(p.getFieldAs<float>(nx), 0.0); in TEST() 115 ASSERT_FLOAT_EQ(p.getFieldAs<float>(ny), 1.0); in TEST() 116 ASSERT_FLOAT_EQ(p.getFieldAs<float>(nz), 0.0); in TEST() 117 ASSERT_FLOAT_EQ(p.getFieldAs<float>(c), 0.0); in TEST() 151 ASSERT_FLOAT_EQ(p.getFieldAs<float>(nx), 1.0); in TEST() 152 ASSERT_FLOAT_EQ(p.getFieldAs<float>(ny), 0.0); in TEST() [all …]
|
H A D | HAGFilterTest.cpp | 69 double x = v->getFieldAs<double>(Dimension::Id::X, i); in TEST() 70 double y = v->getFieldAs<double>(Dimension::Id::Y, i); in TEST() 71 double z = v->getFieldAs<double>(Dimension::Id::Z, i); in TEST() 73 uint8_t c = v->getFieldAs<uint8_t>(Dimension::Id::Classification, i); in TEST() 118 double x = v->getFieldAs<double>(Dimension::Id::X, i); in TEST() 119 double y = v->getFieldAs<double>(Dimension::Id::Y, i); in TEST() 120 double z = v->getFieldAs<double>(Dimension::Id::Z, i); in TEST() 122 uint8_t c = v->getFieldAs<uint8_t>(Dimension::Id::Classification, i); in TEST() 167 double x = v->getFieldAs<double>(Dimension::Id::X, i); in TEST() 168 double y = v->getFieldAs<double>(Dimension::Id::Y, i); in TEST() [all …]
|
/dports/math/pdal/PDAL-2.3.0/test/unit/io/ |
H A D | PlyReaderTest.cpp | 105 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::Red, 0), 63); in TEST() 107 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::Blue, 0), 64); in TEST() 147 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 149 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() 151 point.getFieldAs<double>(Dimension::Id::Z)); in TEST() 156 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 158 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() 160 point.getFieldAs<double>(Dimension::Id::Z)); in TEST() 165 point.getFieldAs<double>(Dimension::Id::X)); in TEST() 167 point.getFieldAs<double>(Dimension::Id::Y)); in TEST() [all …]
|
H A D | PcdWriterTest.cpp | 76 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::X, i), in comparePcdPcd() 77 lv->getFieldAs<float>(Dimension::Id::X, i)); in comparePcdPcd() 78 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::Y, i), in comparePcdPcd() 79 lv->getFieldAs<float>(Dimension::Id::Y, i)); in comparePcdPcd() 80 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::Z, i), in comparePcdPcd() 122 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::X, i), in compareLasPcd() 124 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::Y, i), in compareLasPcd() 126 EXPECT_DOUBLE_EQ(tv->getFieldAs<float>(Dimension::Id::Z, i), in compareLasPcd() 321 EXPECT_EQ(1, v->getFieldAs<int>(Dimension::Id::Intensity, 0)); in TEST() 329 EXPECT_EQ(2, v->getFieldAs<int>(Dimension::Id::Intensity, 1)); in TEST() [all …]
|
H A D | TerrasolidReaderTest.cpp | 110 EXPECT_DOUBLE_EQ(363127.94, view->getFieldAs<double>(Dimension::Id::X, 0)); in TEST_F() 112 EXPECT_DOUBLE_EQ(55.26, view->getFieldAs<double>(Dimension::Id::Z, 0)); in TEST_F() 114 EXPECT_EQ(1840, view->getFieldAs<uint16_t>(Dimension::Id::Intensity, 0)); in TEST_F() 116 EXPECT_EQ(239, view->getFieldAs<uint8_t>(Dimension::Id::Red, 0)); in TEST_F() 117 EXPECT_EQ(252, view->getFieldAs<uint8_t>(Dimension::Id::Green, 0)); in TEST_F() 118 EXPECT_EQ(95, view->getFieldAs<uint8_t>(Dimension::Id::Blue, 0)); in TEST_F() 119 EXPECT_EQ(0, view->getFieldAs<uint8_t>(Dimension::Id::Alpha, 0)); in TEST_F() 120 EXPECT_EQ(1, view->getFieldAs<uint8_t>(Dimension::Id::ReturnNumber, 0)); in TEST_F() 121 EXPECT_EQ(1, view->getFieldAs<uint8_t>(Dimension::Id::NumberOfReturns, 0)); in TEST_F() 123 EXPECT_EQ(0, view->getFieldAs<uint8_t>(Dimension::Id::Flag, 0)); in TEST_F() [all …]
|
H A D | FauxReaderTest.cpp | 129 double x0 = view->getFieldAs<double>(Dimension::Id::X, 0); in TEST() 130 double y0 = view->getFieldAs<double>(Dimension::Id::Y, 0); in TEST() 131 double z0 = view->getFieldAs<double>(Dimension::Id::Z, 0); in TEST() 134 double x1 = view->getFieldAs<double>(Dimension::Id::X, 1); in TEST() 135 double y1 = view->getFieldAs<double>(Dimension::Id::Y, 1); in TEST() 136 double z1 = view->getFieldAs<double>(Dimension::Id::Z, 1); in TEST() 208 uint8_t returnNumber = view->getFieldAs<uint8_t>( in TEST() 235 EXPECT_EQ(1, view->getFieldAs<int>(Dimension::Id::X, 0)); in TEST() 236 EXPECT_EQ(2, view->getFieldAs<int>(Dimension::Id::Y, 0)); in TEST() 237 EXPECT_EQ(3, view->getFieldAs<int>(Dimension::Id::Z, 0)); in TEST() [all …]
|
H A D | PtsReaderTest.cpp | 69 EXPECT_FLOAT_EQ(view->getFieldAs<float>(Dimension::Id::X, 0), 3.9809721f); in TEST() 70 EXPECT_FLOAT_EQ(view->getFieldAs<float>(Dimension::Id::Y, 0), -2.006119f); in TEST() 71 EXPECT_FLOAT_EQ(view->getFieldAs<float>(Dimension::Id::Z, 0), -0.010086f); in TEST() 72 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::Red, 0), 97); in TEST() 73 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::Green, 0), 59); in TEST() 74 EXPECT_EQ(view->getFieldAs<int>(Dimension::Id::Blue, 0), 38); in TEST() 93 EXPECT_DOUBLE_EQ(view->getFieldAs<double>(Dimension::Id::X, 0), -0.037829); in TEST() 94 EXPECT_DOUBLE_EQ(view->getFieldAs<double>(Dimension::Id::Y, 0), 0.12794); in TEST() 95 EXPECT_DOUBLE_EQ(view->getFieldAs<double>(Dimension::Id::Z, 0), 0.004474); in TEST() 112 EXPECT_DOUBLE_EQ(view->getFieldAs<double>(Dimension::Id::X, 0), 6691.797611); in TEST() [all …]
|
H A D | ObjReaderTest.cpp | 49 EXPECT_DOUBLE_EQ(x, view->getFieldAs<double>(Dimension::Id::X, idx)); in checkPoint() 50 EXPECT_DOUBLE_EQ(y, view->getFieldAs<double>(Dimension::Id::Y, idx)); in checkPoint() 51 EXPECT_DOUBLE_EQ(z, view->getFieldAs<double>(Dimension::Id::Z, idx)); in checkPoint() 59 EXPECT_DOUBLE_EQ(x, view->getFieldAs<double>(Dimension::Id::X, idx)); in checkPoint() 60 EXPECT_DOUBLE_EQ(y, view->getFieldAs<double>(Dimension::Id::Y, idx)); in checkPoint() 61 EXPECT_DOUBLE_EQ(z, view->getFieldAs<double>(Dimension::Id::Z, idx)); in checkPoint() 62 EXPECT_DOUBLE_EQ(nx, view->getFieldAs<double>(Dimension::Id::NormalX, idx)); in checkPoint() 63 EXPECT_DOUBLE_EQ(ny, view->getFieldAs<double>(Dimension::Id::NormalY, idx)); in checkPoint() 153 EXPECT_DOUBLE_EQ(0.5, view->getFieldAs<double>(Dimension::Id::W, 0)); in TEST() 155 EXPECT_DOUBLE_EQ(0.5, view->getFieldAs<double>(Dimension::Id::W, 1)); in TEST() [all …]
|
H A D | OptechReaderTest.cpp | 119 view->getFieldAs<double>(Dimension::Id::X, 0)); in TEST_F() 121 view->getFieldAs<double>(Dimension::Id::Y, 0)); in TEST_F() 123 view->getFieldAs<double>(Dimension::Id::Z, 0)); in TEST_F() 125 view->getFieldAs<double>(Dimension::Id::GpsTime, 0)); in TEST_F() 126 EXPECT_EQ(1, view->getFieldAs<uint8_t>(Dimension::Id::ReturnNumber, 0)); in TEST_F() 127 EXPECT_EQ(1, view->getFieldAs<uint8_t>(Dimension::Id::NumberOfReturns, 0)); in TEST_F() 129 view->getFieldAs<float>(Dimension::Id::EchoRange, 0)); in TEST_F() 130 EXPECT_EQ(384, view->getFieldAs<uint16_t>(Dimension::Id::Intensity, 0)); in TEST_F() 132 view->getFieldAs<float>(Dimension::Id::ScanAngleRank, 0)); in TEST_F()
|
/dports/math/pdal/PDAL-2.3.0/pdal/ |
H A D | KDIndex.cpp | 96 double x = point.getFieldAs<double>(Dimension::Id::X); in neighbors() 97 double y = point.getFieldAs<double>(Dimension::Id::Y); in neighbors() 120 double x = point.getFieldAs<double>(Dimension::Id::X); in knnSearch() 121 double y = point.getFieldAs<double>(Dimension::Id::Y); in knnSearch() 142 double x = point.getFieldAs<double>(Dimension::Id::X); in radius() 143 double y = point.getFieldAs<double>(Dimension::Id::Y); in radius() 208 double x = point.getFieldAs<double>(Dimension::Id::X); in neighbors() 209 double y = point.getFieldAs<double>(Dimension::Id::Y); in neighbors() 210 double z = point.getFieldAs<double>(Dimension::Id::Z); in neighbors() 234 double x = point.getFieldAs<double>(Dimension::Id::X); in knnSearch() [all …]
|
/dports/math/py-pdal/PDAL-2.3.5/pdal/test/ |
H A D | NumpyReaderTest.cpp | 126 EXPECT_EQ(view->getFieldAs<int>(health, i), j); in TEST() 158 int f = view->getFieldAs<int>(foo, id); in TEST() 159 int h = view->getFieldAs<int>(health, id); in TEST() 161 int x = view->getFieldAs<int>(Dimension::Id::X, id); in TEST() 162 int y = view->getFieldAs<int>(Dimension::Id::Y, id); in TEST() 163 int z = view->getFieldAs<int>(Dimension::Id::Z, id); in TEST() 212 int f = view->getFieldAs<int>(foo, id); in TEST() 213 int h = view->getFieldAs<int>(health, id); in TEST() 215 int x = view->getFieldAs<int>(Dimension::Id::X, id); in TEST() 270 int f = view->getFieldAs<int>(foo, id); in TEST() [all …]
|
/dports/math/pdal/PDAL-2.3.0/filters/ |
H A D | HagDelaunayFilter.cpp | 76 double ax = gView->getFieldAs<double>(Id::X, ids[ai]); in delaunay_interp_ground() 77 double ay = gView->getFieldAs<double>(Id::Y, ids[ai]); in delaunay_interp_ground() 78 double az = gView->getFieldAs<double>(Id::Z, ids[ai]); in delaunay_interp_ground() 80 double bx = gView->getFieldAs<double>(Id::X, ids[bi]); in delaunay_interp_ground() 97 return gView->getFieldAs<double>(Id::Z, ids[0]); in delaunay_interp_ground() 188 double x0 = point.getFieldAs<double>(Id::X); in filter() 189 double y0 = point.getFieldAs<double>(Id::Y); in filter() 190 double z0 = point.getFieldAs<double>(Id::Z); in filter() 197 double x = gView->getFieldAs<double>(Id::X, ids[0]); in filter() 198 double y = gView->getFieldAs<double>(Id::Y, ids[0]); in filter() [all …]
|
H A D | VoxelCentroidNearestNeighborFilter.cpp | 70 double x0 = view->getFieldAs<double>(Dimension::Id::X, 0); in run() 71 double y0 = view->getFieldAs<double>(Dimension::Id::Y, 0); in run() 72 double z0 = view->getFieldAs<double>(Dimension::Id::Z, 0); in run() 80 double y = view->getFieldAs<double>(Dimension::Id::Y, id); in run() 81 double x = view->getFieldAs<double>(Dimension::Id::X, id); in run() 82 double z = view->getFieldAs<double>(Dimension::Id::Z, id); in run() 110 double x1 = view->getFieldAs<double>(Dimension::Id::X, t.second[0]); in run() 111 double y1 = view->getFieldAs<double>(Dimension::Id::Y, t.second[0]); in run() 141 double x = view->getFieldAs<double>(Dimension::Id::X, p); in run() 142 double y = view->getFieldAs<double>(Dimension::Id::Y, p); in run() [all …]
|
H A D | PoissonFilter.cpp | 66 point.p.coords[0] = m_view.getFieldAs<double>(Id::X, m_current); in nextPoint() 67 point.p.coords[1] = m_view.getFieldAs<double>(Id::Y, m_current); in nextPoint() 68 point.p.coords[2] = m_view.getFieldAs<double>(Id::Z, m_current); in nextPoint() 95 point.p.coords[0] = m_view.getFieldAs<double>(Id::X, m_current); in nextPoint() 96 point.p.coords[1] = m_view.getFieldAs<double>(Id::Y, m_current); in nextPoint() 97 point.p.coords[2] = m_view.getFieldAs<double>(Id::Z, m_current); in nextPoint() 101 color.coords[0] = m_view.getFieldAs<double>(Id::Red, m_current); in nextPoint() 102 color.coords[1] = m_view.getFieldAs<double>(Id::Green, m_current); in nextPoint() 103 color.coords[2] = m_view.getFieldAs<double>(Id::Blue, m_current); in nextPoint() 202 point.m_position[0] = m_view.getFieldAs<double>(Dimension::Id::X, in nextPoint() [all …]
|
H A D | NormalFilter.cpp | 196 Vector3d N0(p.getFieldAs<double>(Id::NormalX), in update() 197 p.getFieldAs<double>(Id::NormalY), in update() 198 p.getFieldAs<double>(Id::NormalZ)); in update() 204 Vector3d N1(q.getFieldAs<double>(Id::NormalX), in update() 205 q.getFieldAs<double>(Id::NormalY), in update() 206 q.getFieldAs<double>(Id::NormalZ)); in update() 243 Vector3d N0(p.getFieldAs<double>(Id::NormalX), in refine() 244 p.getFieldAs<double>(Id::NormalY), in refine() 245 p.getFieldAs<double>(Id::NormalZ)); in refine() 247 Vector3d N1(q.getFieldAs<double>(Id::NormalX), in refine() [all …]
|
/dports/math/pdal/PDAL-2.3.0/plugins/e57/test/ |
H A D | E57ReaderTest.cpp | 108 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(pdal::Dimension::Id::Z),0.335800f); in TEST() 109 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(pdal::Dimension::Id::Red),0.0f); in TEST() 111 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(pdal::Dimension::Id::Blue),0.0f); in TEST() 154 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(dim), in TEST() 155 ptB.getFieldAs<float>(dim)); in TEST() 163 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(dim), in TEST() 164 ptA.getFieldAs<float>(dim)); in TEST() 193 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(dim), in TEST() 194 ptB.getFieldAs<float>(dim)); in TEST() 204 ASSERT_FLOAT_EQ(pt.getFieldAs<float>(dim), in TEST() [all …]
|
/dports/math/pdal/PDAL-2.3.0/test/unit/ |
H A D | PointViewTest.cpp | 78 uint8_t x = view.getFieldAs<uint8_t>( in verifyTestView() 80 int32_t y = view.getFieldAs<uint32_t>(Dimension::Id::X, i); in verifyTestView() 81 double z = view.getFieldAs<double>(Dimension::Id::Y, i); in verifyTestView() 106 uint8_t y = view->getFieldAs<uint8_t>(Dimension::Id::X, i); in TEST() 154 float y = view->getFieldAs<float>(Dimension::Id::X, i); in TEST() 155 float z = view->getFieldAs<float>(Dimension::Id::Y, i); in TEST() 188 view.getFieldAs<PointId>(Dimension::Id::X, id), id); in TEST() 222 view.getFieldAs<PointId>(Dimension::Id::X, id), idx); in TEST() 268 d = v.getFieldAs<double>(foo, 0); in TEST() 272 d = v.getFieldAs<double>(bar, 0); in TEST() [all …]
|
H A D | PointTableTest.cpp | 161 double xDef = defView->getFieldAs<double>(Dimension::Id::X, id); in TEST() 162 double yDef = defView->getFieldAs<double>(Dimension::Id::Y, id); in TEST() 163 double zDef = defView->getFieldAs<double>(Dimension::Id::Z, id); in TEST() 165 double x = customView.getFieldAs<double>(Dimension::Id::X, id); in TEST() 166 double y = customView.getFieldAs<double>(Dimension::Id::Y, id); in TEST() 167 double z = customView.getFieldAs<double>(Dimension::Id::Z, id); in TEST() 234 EXPECT_EQ(id, v.getFieldAs<PointId>(Dimension::Id::X, id)); in simpleTest() 238 v.getFieldAs<PointId>(Dimension::Id::Intensity, id)); in simpleTest() 242 EXPECT_EQ(0U, v.getFieldAs<PointId>(Dimension::Id::X, id)); in simpleTest() 243 EXPECT_EQ(0U, v.getFieldAs<PointId>(Dimension::Id::Y, id)); in simpleTest() [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/include/llvm/Analysis/ |
H A D | DebugInfo.h | 60 DescTy getFieldAs(unsigned Elt) const { in getFieldAs() function 237 DIFile F = getFieldAs<DIFile>(3); in getCompileUnit() 369 DIFile F = getFieldAs<DIFile>(6); in getCompileUnit() 384 DIType T(getFieldAs<DIType>(8)); in getReturnTypeName() 406 DIFile F = getFieldAs<DIFile>(6); in getFilename() 414 DIFile F = getFieldAs<DIFile>(6); in getDirectory() 447 DIFile F = getFieldAs<DIFile>(6); in getCompileUnit() 482 DIFile F = getFieldAs<DIFile>(3); in getCompileUnit() 528 DIFile F = getFieldAs<DIFile>(4); in getDirectory() 533 DIFile F = getFieldAs<DIFile>(4); in getFilename() [all …]
|
/dports/math/pdal/PDAL-2.3.0/pdal/private/ |
H A D | MathUtils.cpp | 87 double x = view.getFieldAs<double>(Id::X, idx) - centroid[0]; in demeanPointView() 88 double y = view.getFieldAs<double>(Id::Y, idx) - centroid[1]; in demeanPointView() 104 double x = view.getFieldAs<double>(Id::X, idx); in transform() 105 double y = view.getFieldAs<double>(Id::Y, idx); in transform() 106 double z = view.getFieldAs<double>(Id::Z, idx); in transform() 124 double x = view.getFieldAs<double>(Id::X, idx); in transformInPlace() 125 double y = view.getFieldAs<double>(Id::Y, idx); in transformInPlace() 126 double z = view.getFieldAs<double>(Id::Z, idx); in transformInPlace() 217 double x = view.getFieldAs<double>(Id::X, i); in extendedLocalMinimum() 218 double y = view.getFieldAs<double>(Id::Y, i); in extendedLocalMinimum() [all …]
|